Repository navigation
Add trigonometric mu-law quantizer #35
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: pip | |
| - name: Install CPU-only torch | |
| run: pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| - name: Install package with dev extras | |
| run: pip install .[dev] | |
| - name: Run unit tests | |
| run: python -m pytest tests/ -q |