Merge pull request #7 from ShengrenHOU/codex/xiaohou/actor-mip-govern… #1
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: | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install runtime dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install numpy pandas | |
| python -m pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| - name: Install development dependencies | |
| run: python -m pip install -r requirements-dev.txt | |
| - name: Ruff | |
| run: ruff check . | |
| - name: Pytest | |
| env: | |
| MIP_DQN_ENABLE_WANDB: "0" | |
| MIP_DQN_USE_ACTOR_MIP: "0" | |
| run: pytest | |