Skip to content

tests: Add unit and integration tests (#90) #2

tests: Add unit and integration tests (#90)

tests: Add unit and integration tests (#90) #2

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: python -m pip install --upgrade pip
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: pip install -e .[tests]
- run: scripts/check-prettier.sh
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace -- -D warnings
- run: pytest tests/
- run: cargo test --workspace --locked