Skip to content

Commit 458394a

Browse files
authored
ci: split rust and python sections (#106)
* ci: split rust and python sections We were getting strange errors due to out of storage, so maybe splitting will help? * fix: put duckdb bundling behind a (default) feature * fix: actually install duckdb * fix: unzip duckdb * fix: at this point, we're just flailing * fix: remove duckdb env * fix: remove more env * fix: split clippy and test
1 parent 13aacb0 commit 458394a

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,26 @@ jobs:
1414
test:
1515
name: Test
1616
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v5
19+
- uses: Swatinem/rust-cache@v2
20+
- name: Format
21+
run: cargo fmt --check
22+
- name: Check
23+
run: cargo check --workspace
24+
- name: Test
25+
run: cargo test
26+
clippy:
27+
name: Clippy
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v5
31+
- uses: Swatinem/rust-cache@v2
32+
- name: Clippy
33+
run: cargo clippy --workspace --tests -- -D warnings
34+
test-python:
35+
name: Test Python
36+
runs-on: ubuntu-latest
1737
strategy:
1838
matrix:
1939
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
@@ -24,9 +44,12 @@ jobs:
2444
with:
2545
python-version: ${{ matrix.python-version }}
2646
- name: Lint
27-
run: scripts/lint
47+
run: |
48+
uv run mypy python
49+
uv run ruff check
50+
uv run ruff format --check
2851
- name: Test
29-
run: scripts/test
52+
run: uv run pytest
3053
- name: CLI smoke test
3154
run: uv run cql2 < examples/text/example01.txt
3255
build-wasm:

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ repository = { workspace = true }
2222
license = { workspace = true }
2323
keywords = ["cql2"]
2424

25-
2625
[dependencies]
2726
geo = "0.31.0"
2827
geo-types = "0.7.17"

0 commit comments

Comments
 (0)