22 lines · 431 B
yaml
| 1 | name: test |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | pull_request: |
| 7 | |
| 8 | jobs: |
| 9 | unit: |
| 10 | runs-on: ubuntu-latest |
| 11 | steps: |
| 12 | - uses: actions/checkout@v4 |
| 13 | - uses: actions/setup-python@v5 |
| 14 | with: |
| 15 | python-version: "3.12" |
| 16 | - name: Run tests (no torch) |
| 17 | run: | |
| 18 | python tests/test_hydra.py |
| 19 | python tests/test_merge.py |
| 20 | python tests/test_urls.py |
| 21 | python tests/test_render.py |