Skip to content

Commit

Permalink
build: update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Sep 2, 2024
1 parent 34f29f9 commit 453a578
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Install environments
install:
uv sync --all-extras
uv sync --all-extras -q

install-tests:
uv sync --no-dev --extra test
uv sync --no-dev --extra test -q

install-tutorials:
uv sync --no-dev --extra tutorials
uv sync --no-dev --extra tutorials -q

install-docs:
uv sync --no-dev --extra docs --extra tutorials
uv sync --no-dev --extra docs --extra tutorials -q

# Tests
test-tutorials:
make install-tutorials
find docs/tutorials -name '*.ipynb' | grep -v 'nbconvert' | xargs -P 4 -I {} uv run jupyter nbconvert {} --to notebook --execute
make install

test:
make install-tests
uv run pytest src -n auto -rfE --failed-first --benchmark-disable
make install

benchmark:
make install
Expand All @@ -39,4 +41,5 @@ lint:
docs:
make install-docs
uv run sphinx-build docs docs/_build
make install

0 comments on commit 453a578

Please sign in to comment.