Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
Have to reference venv for some reason from make, doesn't have to happen
in interactive shells
  • Loading branch information
ianepreston committed Oct 7, 2024
1 parent cb31631 commit 1755f60
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.PHONY: docs
test:
nix develop --impure . -c poetry install && pre-commit run --all-files --show-diff-on-failure
nix develop --impure . -c poetry install && ruff check .
nix develop --impure .#python39 -c poetry install && coverage run -m pytest
nix develop --impure .#python310 -c poetry install && coverage run -m pytest
nix develop --impure .#python311 -c poetry install && coverage run -m pytest
nix develop --impure .#python312 -c poetry install && coverage run -m pytest
nix develop --impure . -c poetry install && coverage report
nix develop --impure . -c ./.venv/bin/pre-commit run --all-files --show-diff-on-failure
nix develop --impure . -c ./.venv/bin/ruff check .
nix develop --impure .#python39 -c ./.venv/bin/coverage run -m pytest
nix develop --impure .#python310 -c ./.venv/bin/coverage run -m pytest
nix develop --impure .#python311 -c ./.venv/bin/coverage run -m pytest
nix develop --impure .#python312 -c ./.venv/bin/coverage run -m pytest
nix develop --impure . -c ./.venv/bin/coverage report
safety:
nix develop --impure . -c poetry install && safety check --file=poetry.lock --full-report
nix develop --impure . -c ./.venv/bin/safety check --file=poetry.lock --full-report
docs:
nix develop --impure . -c poetry install && sphinx-build docs/source docs/_build
nix develop --impure . -c ./.venv/bin/sphinx-build docs/source docs/_build

0 comments on commit 1755f60

Please sign in to comment.