From fbf2eca13d9abf4b56c700651acee7d46884315a Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Thu, 4 Apr 2024 19:37:43 +0300 Subject: [PATCH] ci: add a job for min supported pytest version Make sure we don't break the promise. --- .github/workflows/test.yml | 3 +++ tox.ini | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73db483b..9b850188 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,7 @@ jobs: fail-fast: false matrix: tox_env: + - "py38-pytestmin" - "py38-pytestlatest" - "py39-pytestlatest" - "py310-pytestlatest" @@ -45,6 +46,8 @@ jobs: os: [ubuntu-latest, windows-latest] include: + - tox_env: "py38-pytestmin" + python: "3.8" - tox_env: "py38-pytestlatest" python: "3.8" - tox_env: "py39-pytestlatest" diff --git a/tox.ini b/tox.ini index e25c5a79..c4f24387 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ isolated_build = true [testenv] extras = testing deps = + pytestmin: pytest==6.2.0 pytestlatest: pytest pytestmain: git+https://github.com/pytest-dev/pytest.git commands=