Skip to content

Commit ef8f954

Browse files
author
Sylvain MARIE
committed
Added python 3.9 to CI
1 parent ab308bc commit ef8f954

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ci_tools/nox_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
nox_logger = logging.getLogger("nox")
2222

2323

24-
PY27, PY35, PY36, PY37, PY38 = "2.7", "3.5", "3.6", "3.7", "3.8"
24+
PY27, PY35, PY36, PY37, PY38, PY39, PY310 = "2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"
2525
DONT_INSTALL = "dont_install"
2626

2727

noxfile.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# add parent folder to python path so that we can import noxfile_utils.py
1010
# note that you need to "pip install -r noxfile-requiterements.txt" for this file to work.
1111
sys.path.append(str(Path(__file__).parent / "ci_tools"))
12-
from nox_utils import PY27, PY37, PY36, PY35, PY38, power_session, rm_folder, rm_file, PowerSession, DONT_INSTALL # noqa
12+
from nox_utils import PY27, PY37, PY36, PY35, PY38, PY39, PY310, power_session, rm_folder, rm_file, PowerSession, DONT_INSTALL # noqa
1313

1414

1515
pkg_name = "pytest_cases"
@@ -18,7 +18,11 @@
1818

1919

2020
ENVS = {
21-
# python 3.8 - put first to detect easy issues faster.
21+
# python 3.10 is not available on conda yet
22+
# (PY310, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}},
23+
# python 3.9 - put first to detect easy issues faster.
24+
(PY39, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}},
25+
# python 3.8
2226
(PY38, "pytest4.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<5"}},
2327
(PY38, "pytest5.x"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": "<6"}},
2428
(PY38, "pytest-latest"): {"coverage": False, "pkg_specs": {"pip": ">19", "pytest": ""}},

0 commit comments

Comments
 (0)