test: disposable Covencat live repair probe #158
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: python + cargo check + clippy + test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: hosted adapter python compile | |
| run: python -B -m py_compile deploy/coven-github/coven_github_adapter.py deploy/coven-github/test_coven_github_adapter.py | |
| - name: hosted adapter python tests | |
| run: python -B -m unittest discover -s deploy/coven-github -p "test_*.py" | |
| - name: cargo check | |
| run: cargo check --all-targets | |
| - name: clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: test | |
| run: cargo test --all |