Skip to content

Commit

Permalink
Skip second round of tests with Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness committed Feb 13, 2023
1 parent 5b5c6a4 commit 31bedae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ def tests(session: nox.Session) -> None:
*session.posargs,
env={"COVERAGE_FILE": f".coverage.{session.python}"},
)

if session.python == "3.7":
# There is nothing more to test with Python 3.7.
# Because there is a dependency conflict between
# argcomplete and the latest tox (both depend on
# a different version of importlib-metadata for Py 3.7)
# pip installs tox 3 as the latest one for Py 3.7.
session.notify("cover")
return

# Test tox_to_nox with older tox
session.install("tox<4")
session.run(
Expand Down

0 comments on commit 31bedae

Please sign in to comment.