allow for 1-dimensional channel first training for residual sim vq, f… #221
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: Tests the examples in README | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v4 | |
| - name: Install the latest version of rye | |
| uses: eifinger/setup-rye@v2 | |
| - name: Use UV instead of pip | |
| run: rye config --set-bool behavior.use-uv=true | |
| - name: Install dependencies | |
| run: | | |
| rye sync | |
| - name: Run pytest | |
| run: rye run pytest --cov=. tests/ |