Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit fc84b50

Browse files
committed
Support PyTest 8.x
1 parent 214b920 commit fc84b50

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ jobs:
8585
- pytest73-xdist
8686
- pytest74
8787
- pytest74-xdist
88+
- pytest80
89+
- pytest80-xdist
90+
- pytest81
91+
- pytest81-xdist
92+
- pytest82
93+
- pytest82-xdist
8894
exclude:
8995
# PyTest < 7.3 uses methods that are deprecated in Python 3.12 and emits warnings that
9096
# cause the integration tests to fail.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for running `unittest` tests.
3131
This plugin maintains compatibility with the PyTest and Python versions listed below:
3232

3333
![Python versions](https://img.shields.io/pypi/pyversions/pytest-unflakable)
34-
![PyTest versions](https://img.shields.io/badge/pytest-6.2%20%7C%207.0%20%7C%207.1%20%7C%207.2%20%7C%207.3%20%7C%207.4-blue)
34+
![PyTest versions](https://img.shields.io/badge/pytest-6.2%20%7C%207.0%20%7C%207.1%20%7C%207.2%20%7C%207.3%20%7C%207.4%20%7C%208.0%20%7C%208.1%20%7C%208.2-blue)
3535

3636
## Contributing
3737

tox.ini

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,39 @@ deps =
7272
setenv =
7373
TEST_XDIST = 1
7474

75+
[testenv:pytest80]
76+
deps =
77+
pytest>=8.0.0,<8.1.0
78+
79+
[testenv:pytest80-xdist]
80+
deps =
81+
pytest>=8.0.0,<8.1.0
82+
pytest-xdist==3.6.1
83+
setenv =
84+
TEST_XDIST = 1
85+
86+
[testenv:pytest81]
87+
deps =
88+
pytest>=8.1.0,<8.2.0
89+
90+
[testenv:pytest81-xdist]
91+
deps =
92+
pytest>=8.1.0,<8.2.0
93+
pytest-xdist==3.6.1
94+
setenv =
95+
TEST_XDIST = 1
96+
97+
[testenv:pytest82]
98+
deps =
99+
pytest>=8.2.0,<8.3.0
100+
101+
[testenv:pytest82-xdist]
102+
deps =
103+
pytest>=8.2.0,<8.3.0
104+
pytest-xdist==3.6.1
105+
setenv =
106+
TEST_XDIST = 1
107+
75108
[testenv:autopep8]
76109
deps =
77110
autopep8==2.0.4

0 commit comments

Comments
 (0)