Merge pull request #91 from sarulab-speech/introduce-uv #181
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: Type Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Install | |
| run: | | |
| python -m pip install -U pip | |
| pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| pip install --progress-bar off -U .[check] | |
| - name: Mypy Check | |
| run: mypy . |