Type-check the 1-error-tier rfd3na modules #45
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: integration-tests | |
| on: | |
| push: | |
| branches: [main, production] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rf3-integration: | |
| name: pytest (rf3 integration) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| - name: Install package + dev extras | |
| run: pip install -e ".[dev]" | |
| - name: Cache RF3 checkpoint | |
| id: cache-ckpt | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/rf3_checkpoints | |
| key: rf3-ckpt-rf3_foundry_01_24_latest_remapped | |
| - name: Download RF3 checkpoint | |
| if: steps.cache-ckpt.outputs.cache-hit != 'true' | |
| run: | | |
| mkdir -p ~/.cache/rf3_checkpoints | |
| wget -q \ | |
| -O ~/.cache/rf3_checkpoints/rf3_foundry_01_24_latest_remapped.ckpt \ | |
| http://files.ipd.uw.edu/pub/rf3/rf3_foundry_01_24_latest_remapped.ckpt | |
| - name: Run integration tests | |
| run: | | |
| RF3_CKPT_PATH="$HOME/.cache/rf3_checkpoints/rf3_foundry_01_24_latest_remapped.ckpt" \ | |
| pytest models/rf3/tests/integration/ \ | |
| -m integration \ | |
| -v \ | |
| --tb=short |