From e83a121e3115773ba33fd84ff961d73e466e01c1 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 17 Jul 2024 15:04:37 +0200 Subject: [PATCH] qsd --- .github/workflows/nix-ci.yml | 5 ++++- pyproject.toml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index e25bc0e4b..314748e88 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -25,4 +25,7 @@ jobs: nix_path: nixpkgs=channel:${{ matrix.os == 'macos-latest' && 'nixpkgs-24.05-darwin' || 'nixos-24.05' }} - name: Run tests - run: nix-shell --run "hatch run testing:test -- ./src/ ./test/" + run: | + pwd + echo $GITHUB_PATH + nix-shell --run "hatch run testing:test -- $GITHUB_PATH" diff --git a/pyproject.toml b/pyproject.toml index aae05488d..a95e66a6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,8 +138,8 @@ dependencies = [ # XXX see https://github.com/aleph-im/pyaleph/blob/main/.github/workflows/pyaleph-ci.yml [tool.hatch.envs.testing.scripts] -test = "pytest {args:} ." -test-cov = "pytest --cov {args:} ." +test = "pytest -v {args:.}" +test-cov = "pytest -v --cov {args:.}" cov-report = [ "- coverage combine", "coverage report",