Skip to content

Commit

Permalink
qsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed Jul 17, 2024
1 parent 6f07856 commit e83a121
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/nix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e83a121

Please sign in to comment.