Skip to content

Commit

Permalink
[WIP] nox config?
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Mar 14, 2024
1 parent 48f6b2d commit c039002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: wntrblm/nox@2022.8.7
with:
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12"
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12" # duplicated in noxfile.py
- uses: actions/checkout@v4
- run: git config --global user.name runtest
- run: git config --global user.email runtest@localhost
Expand Down
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

if sys.version_info.major == 2:
TRAC_VERSIONS = ["1.4.4", "1.2.6"]
PYTHON_VERSIONS = ["2.7"]
else:
TRAC_VERSIONS = ["1.6"]
PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] # duplicated in runtests.yml


@nox.session
@nox.session(python=PYTHON_VERSIONS)
@nox.parametrize("trac", TRAC_VERSIONS)
def runtests(session, trac):
session.install("-r", "requirements_test.txt")
Expand Down

0 comments on commit c039002

Please sign in to comment.