Skip to content

Commit a893c3e

Browse files
Test with Pytest 8
1 parent f27f233 commit a893c3e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
PYTEST_MAJOR_VERSION: 7
5555
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
5656

57+
- name: Run tests with PyTest 8
58+
run: tox
59+
env:
60+
PYTEST_MAJOR_VERSION: 8
61+
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
62+
5763
post-test:
5864
name: All tests passed
5965
if: always()

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PYTEST_MAJOR_VERSION =
2020
extras = test
2121
deps =
2222
pytest6: pytest>=6.0.0,<7.0.0
23-
pytest7: pytest>=7.0.0,<7.4.0
23+
pytest7: pytest>=7.0.0,<8.0.0
2424
pytest8: pytest>=8.0.0,<9.0.0
2525

2626
commands = {envpython} -m pytest {posargs}

0 commit comments

Comments
 (0)