Skip to content

Commit

Permalink
Updated noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodb1 committed Feb 29, 2024
1 parent 7aa6c8a commit 329c4c6
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 76 deletions.
12 changes: 10 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


package = "fbrefdata"
python_versions = ["3.13", "3.12", "3.11", "3.10", "3.9"]
python_versions = ["3.12", "3.11", "3.10", "3.9"]
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down Expand Up @@ -143,7 +143,15 @@ def tests(session: Session) -> None:
session.install(".")
session.install("coverage[toml]", "pytest", "pytest-mock", "time-machine", "pygments")
try:
session.run("coverage", "run", "--parallel", "-m", "pytest", *args, env={"FBREFDATA_DIR": "tests/.test_data"})
session.run(
"coverage",
"run",
"--parallel",
"-m",
"pytest",
*args,
env={"FBREFDATA_DIR": "tests/.test_data"},
)
finally:
if session.interactive:
session.notify("coverage", posargs=[])
Expand Down
Loading

0 comments on commit 329c4c6

Please sign in to comment.