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

Commit

Permalink
Support PyTest 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosbugs committed Apr 30, 2024
1 parent 214b920 commit fc84b50
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ jobs:
- pytest73-xdist
- pytest74
- pytest74-xdist
- pytest80
- pytest80-xdist
- pytest81
- pytest81-xdist
- pytest82
- pytest82-xdist
exclude:
# PyTest < 7.3 uses methods that are deprecated in Python 3.12 and emits warnings that
# cause the integration tests to fail.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for running `unittest` tests.
This plugin maintains compatibility with the PyTest and Python versions listed below:

![Python versions](https://img.shields.io/pypi/pyversions/pytest-unflakable)
![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)
![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)

## Contributing

Expand Down
33 changes: 33 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,39 @@ deps =
setenv =
TEST_XDIST = 1

[testenv:pytest80]
deps =
pytest>=8.0.0,<8.1.0

[testenv:pytest80-xdist]
deps =
pytest>=8.0.0,<8.1.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1

[testenv:pytest81]
deps =
pytest>=8.1.0,<8.2.0

[testenv:pytest81-xdist]
deps =
pytest>=8.1.0,<8.2.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1

[testenv:pytest82]
deps =
pytest>=8.2.0,<8.3.0

[testenv:pytest82-xdist]
deps =
pytest>=8.2.0,<8.3.0
pytest-xdist==3.6.1
setenv =
TEST_XDIST = 1

[testenv:autopep8]
deps =
autopep8==2.0.4
Expand Down

0 comments on commit fc84b50

Please sign in to comment.