Skip to content

Commit c039002

Browse files
committed
[WIP] nox config?
1 parent 48f6b2d commit c039002

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/runtests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: wntrblm/[email protected]
2222
with:
23-
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12"
23+
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12" # duplicated in noxfile.py
2424
- uses: actions/checkout@v4
2525
- run: git config --global user.name runtest
2626
- run: git config --global user.email runtest@localhost

noxfile.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44

55
if sys.version_info.major == 2:
66
TRAC_VERSIONS = ["1.4.4", "1.2.6"]
7+
PYTHON_VERSIONS = ["2.7"]
78
else:
89
TRAC_VERSIONS = ["1.6"]
10+
PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] # duplicated in runtests.yml
911

1012

11-
@nox.session
13+
@nox.session(python=PYTHON_VERSIONS)
1214
@nox.parametrize("trac", TRAC_VERSIONS)
1315
def runtests(session, trac):
1416
session.install("-r", "requirements_test.txt")

0 commit comments

Comments
 (0)