Dashboard style overhaul + expanded game-completion eval & stopping criteria #178
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache Rust build | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| engine/target | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| key: rust-${{ hashFiles('engine/Cargo.lock') }} | |
| restore-keys: rust- | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Build Rust engine | |
| run: cd engine && uv run --with maturin maturin develop --release | |
| - name: Install Python deps | |
| run: | | |
| uv sync | |
| uv pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| - name: Pyright | |
| run: uv run pyright pawn/ | |
| - name: Tests | |
| run: uv run pytest tests/ -x -q -m "not gpu" |