diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20f2151..0b43233 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,13 +56,6 @@ jobs: PYTEST_MAJOR_VERSION: 7 PYTEST_PLUGINS: pytest_github_actions_annotate_failures - - name: Run tests with PyTest 6 - run: tox - if: runner.os != 'Windows' - env: - PYTEST_MAJOR_VERSION: 6 - PYTEST_PLUGINS: pytest_github_actions_annotate_failures - post-test: name: All tests passed if: always() diff --git a/CHANGELOG.md b/CHANGELOG.md index 187567a..21655d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -Nothing yet. +- Require pytest 7+ #116 ## 0.3.0 (2025-01-17) diff --git a/pyproject.toml b/pyproject.toml index 291c086..89310a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ classifiers = [ ] keywords = ["ansible", "testing", "molecule", "plugin"] dependencies = [ - "pytest>=6.0.0" + "pytest>=7.0.0" ] [project.urls] diff --git a/tox.ini b/tox.ini index f743182..3741599 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311,312,313}-pytest{6,7,8} + py{38,39,310,311,312,313}-pytest{7,8} [gh-actions] python = @@ -13,7 +13,6 @@ python = [gh-actions:env] PYTEST_MAJOR_VERSION = - 6: pytest6 7: pytest7 8: pytest8 @@ -21,7 +20,6 @@ PYTEST_MAJOR_VERSION = min_version = 4.22.0 groups = test deps = - pytest6: pytest>=6.0.0,<7.0.0 pytest7: pytest>=7.0.0,<8.0.0 pytest8: pytest>=8.0.0,<9.0.0