Skip to content

Commit 13701f8

Browse files
committed
test if everything works
1 parent 2240b0d commit 13701f8

17 files changed

+2371
-2286
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Create Venv
1919
run: uv sync --all-extras
2020
- name: Run notebooks
21-
run: find . -name "*.ipynb" -not -path "*/tests/*" -not -path "*/.ipynb_checkpoints/*" | xargs parallel uv run papermill {} {} -k python3 ':::'
21+
run: make nbrun
2222
- name: Upload artifacts [internals]
2323
uses: actions/upload-artifact@v4
2424
with:

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
dev:
2+
uv venv --python 3.12
3+
uv sync --all-extras
4+
15
build:
26
uv run python -m build --sdist --wheel
37

@@ -9,8 +13,8 @@ pre-commit:
913
pre-commit install
1014

1115
nbrun:
12-
find . -name "*.ipynb" -not -path "*/.ipynb_checkpoints/*" | xargs parallel -j `nproc --all` uv run papermill {} {} -k python3 :::
13-
rm -rf modes
16+
find examples -name "*.ipynb" -not -path "*/.ipynb_checkpoints/*" -not -path "./.venv/*" | xargs parallel uv run papermill {} {} -k python3 --cwd examples ':::'
17+
find internals -name "*.ipynb" -not -path "*/.ipynb_checkpoints/*" -not -path "./.venv/*" | xargs parallel uv run papermill {} {} -k python3 --cwd internals ':::'
1418

1519
dockerpush:
1620
docker push flaport/sax:latest
@@ -21,6 +25,7 @@ docs:
2125
cd docs/source/ && make && cd .. && make html
2226

2327
clean:
28+
rm -rf .venv
2429
find . -name "modes" | xargs rm -rf
2530
find . -name "dist" | xargs rm -rf
2631
find . -name "build" | xargs rm -rf

0 commit comments

Comments
 (0)