-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have to reference venv for some reason from make, doesn't have to happen in interactive shells
- Loading branch information
1 parent
cb31631
commit 1755f60
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |