Skip to content

Commit

Permalink
CI: adding testing with pytest 8.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Jan 9, 2024
1 parent 80bd11f commit f43b264
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ jobs:
- os: ubuntu-latest
python-version: '3.11'
toxenv: py311-test-pytest74
toxargs: --pre
- os: ubuntu-latest
python-version: '3.12'
toxenv: py312-test-pytest80
- os: macos-latest
python-version: '3.12'
toxenv: py312-test-pytest80
- os: windows-latest
python-version: '3.12'
toxenv: py312-test-pytest80
- os: macos-latest
python-version: '3.11'
toxenv: py311-test-pytestdev
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ deps =
pytest72: pytest==7.2.*
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytest80: pytest==8.0.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
pytestdev: git+https://github.com/scientific-python/pytest-doctestplus

extras =
test

# Temporary measures to be able to test on 8.0.x in its RC cycle
pip_pre =
pytest80: true
!pytest80: false

commands =
pip freeze
pytest {toxinidir}/tests {posargs}
Expand Down

0 comments on commit f43b264

Please sign in to comment.