-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update artifact action - test on more modern pythons - unhook & bump poetry required version - relax coverage goal for buggy statement counting
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu, windows, macos] | ||
python: ['3.8', '3.9', '3.10'] | ||
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
|
@@ -30,10 +30,10 @@ jobs: | |
run: poetry run black --check hpke tests | ||
- name: Check types | ||
run: poetry run mypy hpke | ||
- name: Run tests and ensure 100% line coverage | ||
run: poetry run pytest --cov-fail-under=100 --cov hpke tests | ||
- name: Run tests and ensure ~100% line coverage | ||
run: poetry run pytest --cov-fail-under=99.5 --cov hpke tests | ||
- name: Upload coverage artifact | ||
uses: actions/upload-artifact@v2.2.4 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage-${{ matrix.python }}-${{ matrix.os }} | ||
path: .coverage | ||
|
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,3 +1,3 @@ | ||
pip==21.2.4 | ||
poetry==1.1.8 | ||
pip==24.2 | ||
poetry==1.8.2 | ||
|
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