File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 persist-credentials : false
2626
2727 - uses : extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0
28- - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817
28+ - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
2929
3030 - name : " Run Tests"
3131 env :
5757 pattern : coverage-data-*
5858 merge-multiple : true
5959
60- - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817
60+ - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
6161
6262 - name : " Combine coverage"
6363 run : |
8181 path : " htmlcov"
8282 if : always()
8383
84+ lint :
85+ name : " Run linters"
86+ runs-on : " ubuntu-latest"
87+ steps :
88+ - uses : " actions/checkout@v4"
89+ with :
90+ persist-credentials : false
91+
92+ - uses : extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0
93+ - uses : hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
94+
95+ - name : " Run linters"
96+ run : |
97+ just lint
98+
8499 package :
85100 name : " Build & verify package"
86101 runs-on : " ubuntu-latest"
Original file line number Diff line number Diff line change @@ -9,4 +9,10 @@ test *args="-x --ff -n auto tests":
99
1010cov * args = " -x --ff -n auto tests":
1111 @ uv run {{ if python != ' ' { ' -p ' + python } else { ' ' } }} python -c ' import pathlib, site; pathlib.Path(f"{site.getsitepackages()[0]}/cov.pth").write_text("import coverage; coverage.process_startup()")'
12- COVERAGE_PROCESS_START={{ justfile_directory ()}} / pyproject.toml uv run {{ if python != ' ' { ' -p ' + python } else { ' ' } }} --all-extras --group test coverage run -m pytest {{ args}}
12+ COVERAGE_PROCESS_START={{ justfile_directory ()}} / pyproject.toml uv run {{ if python != ' ' { ' -p ' + python } else { ' ' } }} --all-extras --group test coverage run -m pytest {{ args}}
13+
14+ bench-cmp :
15+ uv run pytest bench --benchmark-compare
16+
17+ bench :
18+ uv run pytest bench --benchmark-save base
Original file line number Diff line number Diff line change @@ -49,9 +49,3 @@ docs: ## generate Sphinx HTML documentation, including API docs
4949
5050htmllive : docs # # compile the docs watching for changes
5151 $(MAKE ) -C docs htmllive
52-
53- bench-cmp :
54- pytest bench --benchmark-compare
55-
56- bench :
57- pytest bench --benchmark-save base
You can’t perform that action at this time.
0 commit comments