We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ddd572 commit b6b5d48Copy full SHA for b6b5d48
1 file changed
.github/workflows/python-package.yml
@@ -54,3 +54,23 @@ jobs:
54
run: pip install --editable . --verbose
55
- name: Run tests
56
run: python -m pytest
57
+
58
+ type-check:
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@v4
62
+ with:
63
+ submodules: true
64
+ - uses: actions/setup-python@v5
65
66
+ python-version: "3.9"
67
+ - name: Install requirements
68
+ run: pip install numpy pytest pyright
69
+ - name: "Workaround: Generate _soundfile.py explicitly"
70
+ run: |
71
+ pip install cffi>=1.0
72
+ python soundfile_build.py
73
+ - name: Install editable package
74
+ run: pip install --editable . --verbose
75
+ - name: Run tests
76
+ run: python -m pyright soundfile.py
0 commit comments