55 branches :
66 - main
77 tags :
8- - ' v* '
8+ - " v* "
99 paths :
1010 - python/**
1111 pull_request :
@@ -21,27 +21,6 @@ permissions:
2121 contents : read
2222
2323jobs :
24- test :
25- runs-on : ubuntu-latest
26- defaults :
27- run :
28- working-directory : python
29- steps :
30- - uses : actions/checkout@v4
31- - uses : astral-sh/setup-uv@v3
32- with :
33- enable-cache : true
34- - uses : actions/setup-python@v5
35- with :
36- python-version-file : python/.python-version
37- - name : Install
38- run : uv sync --dev
39- - name : Check
40- run : uv run mypy . && uv run ruff check && uv run ruff format --check
41- - name : Test
42- run : uv run pytest
43- - name : CLI smoke test
44- run : uv run cql2 < ../fixtures/text/example01.txt
4524 linux :
4625 runs-on : ${{ matrix.platform.runner }}
4726 strategy :
6948 with :
7049 target : ${{ matrix.platform.target }}
7150 args : --release --out dist --find-interpreter -m python/Cargo.toml
72- sccache : ' true'
51+ sccache : " true"
7352 manylinux : auto
7453 - name : Upload wheels
7554 uses : actions/upload-artifact@v4
10079 with :
10180 target : ${{ matrix.platform.target }}
10281 args : --release --out dist --find-interpreter -m python/Cargo.toml
103- sccache : ' true'
82+ sccache : " true"
10483 manylinux : musllinux_1_2
10584 - name : Upload wheels
10685 uses : actions/upload-artifact@v4
@@ -128,7 +107,7 @@ jobs:
128107 with :
129108 target : ${{ matrix.platform.target }}
130109 args : --release --out dist --find-interpreter -m python/Cargo.toml
131- sccache : ' true'
110+ sccache : " true"
132111 - name : Upload wheels
133112 uses : actions/upload-artifact@v4
134113 with :
@@ -154,7 +133,7 @@ jobs:
154133 with :
155134 target : ${{ matrix.platform.target }}
156135 args : --release --out dist --find-interpreter -m python/Cargo.toml
157- sccache : ' true'
136+ sccache : " true"
158137 - name : Upload wheels
159138 uses : actions/upload-artifact@v4
160139 with :
@@ -194,9 +173,9 @@ jobs:
194173 - name : Generate artifact attestation
195174 uses : actions/attest-build-provenance@v1
196175 with :
197- subject-path : ' wheels-*/*'
176+ subject-path : " wheels-*/*"
198177 - name : Publish to PyPI
199- if : " startsWith(github.ref, 'refs/tags/')"
178+ if : startsWith(github.ref, 'refs/tags/')
200179 uses : PyO3/maturin-action@v1
201180 env :
202181 MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
0 commit comments