name: CI on: push: branches: [main] pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: clippy - uses: actions/setup-python@v5 with: python-version: "3.12" # clippy does everything cargo check does, so it replaces it rather than adding to it - run: cargo clippy --all-targets -- -D warnings - run: cargo test - run: python -m pip install ".[report]" - run: python -m unittest discover -s "$GITHUB_WORKSPACE/tests" working-directory: /tmp