Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.2.1 #101

Merged
merged 26 commits into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6d6562a
add ExpirationLog
Apr 7, 2024
882f632
add Logger.process_expiration_log
Apr 7, 2024
c3ce58e
read and write expiration logs.
Apr 7, 2024
f7505cd
remove assert delete_order.kind == LIMIT_ORDER
Apr 7, 2024
82f912a
debug: add sell_order_book._set_time
Apr 7, 2024
cbf0949
add camma
Apr 7, 2024
14dc590
add 2 brank lines
Apr 7, 2024
fe17ea3
add 2 brank lines
Apr 7, 2024
af225c7
remove importing LIMIT_ORDER
Apr 7, 2024
c7c1d99
from == to is
Apr 7, 2024
3d53c58
from == to is
Apr 7, 2024
c504f68
remove assertion
Apr 7, 2024
a7fdd08
rename from logs to logs_
Apr 7, 2024
bdff453
debug: market_id=delete_order.market_id.
Apr 7, 2024
9f6361e
allow order_id and order_time to be None.
Apr 7, 2024
de2f65b
Bumping version from 0.2.0 to 0.2.1
actions-user Apr 7, 2024
d908fea
Merge pull request #99 from ryuji-hashimoto0110/hashimoto/expiration_log
masanorihirano Apr 7, 2024
659aea3
Merge pull request #100 from masanorihirano/create-pull-request/patch…
masanorihirano Apr 7, 2024
ec6b2ed
add coverage
masanorihirano Apr 7, 2024
68ba541
Merge pull request #102 from masanorihirano/fix-coverage-20240407
masanorihirano Apr 7, 2024
77964e5
add test for coverage
masanorihirano Apr 7, 2024
7d409a5
yaml formattiong, change default python version from 3.9 to 3.11 in C…
masanorihirano Apr 7, 2024
9325689
Merge pull request #103 from masanorihirano/fix-coverage-20240407
masanorihirano Apr 7, 2024
a79346e
Merge pull request #104 from masanorihirano/masanori/update-ci-20240407
masanorihirano Apr 7, 2024
3de6f27
drop python 3.12
masanorihirano Apr 7, 2024
ee011e3
Merge pull request #105 from masanorihirano/masanori/update-ci-20240407
masanorihirano Apr 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
runs-on: ubuntu-latest
if: ${{ contains(github.ref, 'release/') }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install poetry
run: pip install poetry
- name: Bump version
run: git branch --show-current | sed 's|release/||' | xargs poetry version | { printf '::set-output name=PR_TITLE::'; cat; }
id: bump
- name: Bump version 2
run: git branch --show-current | sed 's|release/||' | xargs -I {} echo '__version__ = "{}"' > pams/version.py
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
author: GitHub Actions <[email protected]>
commit-message: ${{ steps.bump.outputs.PR_TITLE }}
delete-branch: true
branch-suffix: short-commit-hash
title: ${{ steps.bump.outputs.PR_TITLE }}
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install poetry
run: pip install poetry
- name: Bump version
run: git branch --show-current | sed 's|release/||' | xargs poetry version | { printf '::set-output name=PR_TITLE::'; cat; }
id: bump
- name: Bump version 2
run: git branch --show-current | sed 's|release/||' | xargs -I {} echo '__version__ = "{}"' > pams/version.py
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
author: GitHub Actions <[email protected]>
commit-message: ${{ steps.bump.outputs.PR_TITLE }}
delete-branch: true
branch-suffix: short-commit-hash
title: ${{ steps.bump.outputs.PR_TITLE }}
8 changes: 4 additions & 4 deletions .github/workflows/ci-python-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: CI-min
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ dev, release/* ]
branches: [dev, release/*]
pull_request:
branches: [ dev, release/* ]
branches: [dev, release/*]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,12 +18,12 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 5
matrix:
platform: [ubuntu-latest]
python-version: [3.9]
python-version: [3.11]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-python-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: CI-notebooks
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main, dev, release/* ]
branches: [main, dev, release/*]
pull_request:
branches: [ main, dev, release/* ]
branches: [main, dev, release/*]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,12 +18,12 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 5
matrix:
platform: [ubuntu-latest]
python-version: [3.8]
python-version: [3.11]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,7 +18,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 5
matrix:
Expand Down Expand Up @@ -47,4 +47,4 @@ jobs:
- name: Doc Test
if: matrix.platform == 'ubuntu-latest'
run: |
poetry run pytest --doctest-modules pams
poetry run pytest --doctest-modules pams
44 changes: 22 additions & 22 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: codecov CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main, dev, release/* ]
branches: [main, dev, release/*]
pull_request:
branches: [ main ]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -21,26 +21,26 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install poetry
poetry install
- name: make cov report
run: |
poetry run pytest --cov=./ --cov-report=xml
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: ./coverage.xml
flags: pytest
verbose: true
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install poetry
poetry install
- name: make cov report
run: |
poetry run pytest --cov=./ --cov-report=xml
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: ./coverage.xml
flags: pytest
verbose: true
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:

jobs:
doc:
runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 5
matrix:
platform: [ubuntu-latest]
python-version: [3.9]
python-version: [3.11]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
Loading
Loading