File tree Expand file tree Collapse file tree 4 files changed +275
-264
lines changed Expand file tree Collapse file tree 4 files changed +275
-264
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ lint :
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v4
12+ -
uses :
prefix-dev/[email protected] 13+ with :
14+ environments : default
15+ cache : true
16+
17+ - name : Re-install local
18+ run : |
19+ pixi run rebuild
20+
21+ - name : Lint with ruff
22+ run : |
23+ pixi run lint
24+ - name : Lint with cython-lint
25+ run : |
26+ pixi run cython-lint
27+ - name : Format with black
28+ run : |
29+ pixi run fmt
30+ - name : Type check with mypy
31+ run : |
32+ pixi run type
33+ - name : Test coverage
34+ shell : bash
35+ run : |
36+ FMT=xml pixi run test-coverage
37+ - name : Upload coverage reports to Codecov
38+ uses : codecov/codecov-action@v5
39+ with :
40+ token : ${{ secrets.CODECOV_TOKEN }}
41+ - name : Build SDist
42+ run : |
43+ pixi run build-sdist
44+ - name : Store artifacts
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : cibw-sdist
48+ path : dist/*.tar.gz
Original file line number Diff line number Diff line change 88 branches : ["*.X"]
99
1010jobs :
11+ call-lint :
12+ uses : ./.github/workflows/lint.yml
13+ secrets : inherit
14+
1115 test :
12- runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ os : [ubuntu-latest, windows-latest, macos-latest]
20+ runs-on : ${{ matrix.os }}
1321
1422 steps :
1523 - uses : actions/checkout@v4
2230 run : |
2331 pixi run rebuild
2432
25- - name : Lint with ruff
26- run : |
27- pixi run lint
28- - name : Lint with cython-lint
29- run : |
30- pixi run cython-lint
31- - name : Format with black
32- run : |
33- pixi run fmt
34- - name : Type check with mypy
35- run : |
36- pixi run type
3733 - name : Test with pytest
3834 run : |
3935 pixi run test
4238 run : |
4339 pixi run doc
4440 CMD=doctest pixi run doc
45- - name : Test coverage
46- shell : bash
47- run : |
48- FMT=xml pixi run test-coverage
49- - name : Upload coverage reports to Codecov
50- uses : codecov/codecov-action@v5
51- with :
52- token : ${{ secrets.CODECOV_TOKEN }}
53- - name : Build SDist
41+ - name : Test nogil
5442 run : |
55- pixi run build-sdist
56- - name : Store artifacts
57- uses : actions/upload-artifact@v4
58- with :
59- name : cibw-sdist
60- path : dist/*.tar.gz
43+ pixi run nogil-eta
You can’t perform that action at this time.
0 commit comments