Skip to content

Commit

Permalink
workflows/quality-checks.yml: Passes wheel location to hatch as envir…
Browse files Browse the repository at this point in the history
…onment variable again
  • Loading branch information
funkyfuture committed Oct 4, 2024
1 parent f76650b commit aeca5f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ show-docs: docs
tests: black code-lint mypy pytest doctest

# run the testsuite against a wheel (installed from $WHEEL_PATH); intended to run on a CI platform
test-wheel wheel_path:
hatch run test-wheel:check {{wheel_path}}
test-wheel $WHEEL_PATH:
hatch run test-wheel:check

# Generates and validates CITATION.cff
update-citation-file:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ coverage-report = """
template = "unit-tests"
skip-install = true
extra-dependencies = [
"delb @ {root:uri}/{args}",
"delb @ {root:uri}/{env:WHEEL_PATH}",
]
[tool.hatch.envs.test-wheel.scripts]
check = "python -m pytest tests"

0 comments on commit aeca5f3

Please sign in to comment.