Skip to content

Commit

Permalink
Specify explicit coverage.py version.
Browse files Browse the repository at this point in the history
Test on both python 3.12 and 3.13.
  • Loading branch information
udifuchs committed Oct 21, 2024
1 parent f324152 commit b28e399
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
# Run on earliest and latest supported python versions.
python-version: ["3.8", "3.12"]
python-version: ["3.8", "3.12", "3.13"]
# Run linters and pytests.
testsuite: ["linters", "pytest"]
steps:
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
pep8
ruff
pylint
{py38,py313}-pytest
{py38,py312,py313}-pytest

files = pylint_silent tests/test_samples.py

Expand Down Expand Up @@ -49,6 +49,8 @@ deps =
pylint >= 2.16
pytest
coverage
# https://github.com/nedbat/coveragepy/issues/1880
coverage >= 7.6.4; python_version>='3.12'

commands =
coverage run -m pytest tests
Expand Down

0 comments on commit b28e399

Please sign in to comment.