From aeca5f394a91588eca00c83d64085e8683a0f451 Mon Sep 17 00:00:00 2001 From: Frank Sachsenheim Date: Fri, 4 Oct 2024 15:15:11 +0200 Subject: [PATCH] workflows/quality-checks.yml: Passes wheel location to hatch as environment variable again --- Justfile | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index b4a216b..5a24bb8 100644 --- a/Justfile +++ b/Justfile @@ -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: diff --git a/pyproject.toml b/pyproject.toml index c0a5133..ae61b97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"