Skip to content

Commit f43b264

Browse files
committed
CI: adding testing with pytest 8.0.x
1 parent 80bd11f commit f43b264

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/python-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@ jobs:
5757
- os: ubuntu-latest
5858
python-version: '3.11'
5959
toxenv: py311-test-pytest74
60-
toxargs: --pre
60+
- os: ubuntu-latest
61+
python-version: '3.12'
62+
toxenv: py312-test-pytest80
63+
- os: macos-latest
64+
python-version: '3.12'
65+
toxenv: py312-test-pytest80
66+
- os: windows-latest
67+
python-version: '3.12'
68+
toxenv: py312-test-pytest80
6169
- os: macos-latest
6270
python-version: '3.11'
6371
toxenv: py311-test-pytestdev

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ deps =
2424
pytest72: pytest==7.2.*
2525
pytest73: pytest==7.3.*
2626
pytest74: pytest==7.4.*
27+
pytest80: pytest==8.0.*
2728
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
2829
pytestdev: git+https://github.com/scientific-python/pytest-doctestplus
2930

3031
extras =
3132
test
3233

34+
# Temporary measures to be able to test on 8.0.x in its RC cycle
35+
pip_pre =
36+
pytest80: true
37+
!pytest80: false
38+
3339
commands =
3440
pip freeze
3541
pytest {toxinidir}/tests {posargs}

0 commit comments

Comments
 (0)