Skip to content

Commit 86bf293

Browse files
committed
warn that changing some justfile rules will affect CI
1 parent fcead3a commit 86bf293

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

justfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,13 @@ reinstall:
1313
test: reinstall ci-test
1414
test-cython: reinstall ci-test-cython
1515

16-
lint:
17-
uvx ruff check
18-
1916
fix:
2017
uvx ruff check --fix
2118

2219
lab:
2320
uv sync --group docs
2421
uv run jupyter lab
2522

26-
docs:
27-
uv sync --group docs
28-
uv run jupyter-book build docs/ --warningiserror --keep-going --all
29-
3023
view:
3124
open docs/_build/html/index.html
3225

@@ -50,10 +43,19 @@ _rm pattern:
5043
-@find . -name "{{pattern}}" -prune -exec rm -rf {} +
5144

5245

53-
# CI builds in a separate step, so this command avoids forcing reinstalls
46+
# Recipes below are used by CI workflows (.github/workflows/).
47+
# Changes here may break CI — update the workflows accordingly.
48+
5449
ci-test:
5550
uv run pytest tests/test_lib --cov=h3 --cov=tests/test_lib --cov-fail-under=100
5651

5752
ci-test-cython:
5853
uv run --with cython --with setuptools cythonize tests/test_cython/cython_example.pyx
5954
uv run pytest tests/test_cython --cov=tests/test_cython
55+
56+
lint:
57+
uvx ruff check
58+
59+
docs:
60+
uv sync --group docs
61+
uv run jupyter-book build docs/ --warningiserror --keep-going --all

0 commit comments

Comments
 (0)