diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efdb034..3b91a68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,26 @@ jobs: test: name: Test runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: Swatinem/rust-cache@v2 + - name: Format + run: cargo fmt --check + - name: Check + run: cargo check --workspace + - name: Test + run: cargo test + clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: Swatinem/rust-cache@v2 + - name: Clippy + run: cargo clippy --workspace --tests -- -D warnings + test-python: + name: Test Python + runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] @@ -24,9 +44,12 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Lint - run: scripts/lint + run: | + uv run mypy python + uv run ruff check + uv run ruff format --check - name: Test - run: scripts/test + run: uv run pytest - name: CLI smoke test run: uv run cql2 < examples/text/example01.txt build-wasm: diff --git a/Cargo.toml b/Cargo.toml index b7dab9b..600d879 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,6 @@ repository = { workspace = true } license = { workspace = true } keywords = ["cql2"] - [dependencies] geo = "0.31.0" geo-types = "0.7.17"