-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin' into add_download
- Loading branch information
Showing
10 changed files
with
1,194 additions
and
980 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
pip==23.3.1 | ||
pip==23.3.2 | ||
nox==2023.4.22 | ||
nox-poetry==1.0.3 | ||
poetry==1.6.1 | ||
virtualenv==20.24.6 | ||
poetry==1.7.1 | ||
virtualenv==20.25.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
fetch-depth: 2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4.7.1 | ||
uses: actions/setup-python@v5.0.0 | ||
with: | ||
python-version: "3.9" | ||
|
||
|
@@ -57,18 +57,18 @@ jobs: | |
- name: Publish package on PyPI | ||
if: steps.check-version.outputs.tag | ||
uses: pypa/[email protected].10 | ||
uses: pypa/[email protected].11 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
|
||
- name: Publish package on TestPyPI | ||
if: "! steps.check-version.outputs.tag" | ||
uses: pypa/[email protected].10 | ||
uses: pypa/[email protected].11 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TEST_PYPI_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish the release notes | ||
uses: release-drafter/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,21 @@ jobs: | |
include: | ||
- { python-version: 3.9, os: ubuntu-latest, session: "pre-commit" } | ||
- { python-version: 3.9, os: ubuntu-latest, session: "safety" } | ||
- { python-version: "3.12", os: ubuntu-latest, session: "mypy" } | ||
- { python-version: "3.11", os: ubuntu-latest, session: "mypy" } | ||
- { python-version: "3.10", os: ubuntu-latest, session: "mypy" } | ||
- { python-version: 3.9, os: ubuntu-latest, session: "mypy" } | ||
- { python-version: 3.8, os: ubuntu-latest, session: "mypy" } | ||
- { python-version: "3.12", os: ubuntu-latest, session: "tests" } | ||
- { python-version: "3.11", os: ubuntu-latest, session: "tests" } | ||
- { python-version: "3.10", os: ubuntu-latest, session: "tests" } | ||
- { python-version: 3.9, os: ubuntu-latest, session: "tests" } | ||
- { python-version: 3.8, os: ubuntu-latest, session: "tests" } | ||
- { python-version: "3.10", os: windows-latest, session: "tests" } | ||
- { python-version: "3.10", os: macos-latest, session: "tests" } | ||
- { python-version: 3.9, os: ubuntu-latest, session: "typeguard" } | ||
- { python-version: "3.10", os: ubuntu-latest, session: "docs-build" } | ||
- { python-version: "3.12", os: windows-latest, session: "tests" } | ||
- { python-version: "3.12", os: macos-latest, session: "tests" } | ||
# since ray is still not available wiht 3.12 | ||
- { python-version: "3.11", os: ubuntu-latest, session: "typeguard" } | ||
- { python-version: "3.12", os: ubuntu-latest, session: "docs-build" } | ||
|
||
env: | ||
NOXSESSION: ${{ matrix.session }} | ||
|
@@ -38,7 +41,7 @@ jobs: | |
run: sudo apt-get install pandoc | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4.7.1 | ||
uses: actions/setup-python@v5.0.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -49,7 +52,7 @@ jobs: | |
- name: Install Poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt poetry | ||
pip install --constraint=.github/workflows/constraints.txt poetry poetry-plugin-export | ||
poetry --version | ||
- name: Install Nox | ||
|
@@ -75,7 +78,7 @@ jobs: | |
os.environ["GITHUB_OUTPUT"] = "result={}".format(result) | ||
- name: Restore pre-commit cache | ||
uses: actions/cache@v3.3.2 | ||
uses: actions/cache@v4.0.0 | ||
if: matrix.session == 'pre-commit' | ||
with: | ||
path: ~/.cache/pre-commit | ||
|
@@ -88,15 +91,15 @@ jobs: | |
nox --force-color --python=${{ matrix.python-version }} | ||
- name: Upload coverage data | ||
if: always() && matrix.session == 'tests' | ||
uses: "actions/upload-artifact@v3.1.3" | ||
if: matrix.session == 'tests' | ||
uses: "actions/upload-artifact@v4.3.0" | ||
with: | ||
name: coverage-data | ||
name: coverage-data.${{ matrix.python-version }}.${{ matrix.os }} | ||
path: ".coverage.*" | ||
|
||
- name: Upload documentation | ||
if: matrix.session == 'docs-build' | ||
uses: actions/upload-artifact@v3.1.3 | ||
uses: actions/upload-artifact@v4.3.0 | ||
with: | ||
name: docs | ||
path: docs/_build | ||
|
@@ -109,7 +112,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v4.7.1 | ||
uses: actions/setup-python@v5.0.0 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -120,7 +123,7 @@ jobs: | |
- name: Install Poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt poetry | ||
pip install --constraint=.github/workflows/constraints.txt poetry poetry-plugin-export | ||
poetry --version | ||
- name: Install Nox | ||
|
@@ -129,9 +132,9 @@ jobs: | |
nox --version | ||
- name: Download coverage data | ||
uses: actions/download-artifact@v3.0.2 | ||
uses: actions/download-artifact@v4.1.1 | ||
with: | ||
name: coverage-data | ||
name: coverage-data.3.11.ubuntu-latest | ||
|
||
- name: Combine coverage data and display human readable report | ||
run: | | ||
|
@@ -142,4 +145,4 @@ jobs: | |
nox --force-color --session=coverage -- xml | ||
- name: Upload coverage report | ||
uses: codecov/codecov-action@v3.1.4 | ||
uses: codecov/codecov-action@v4.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.