File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 3333 working-directory : git-repo
3434 run : |
3535 python -m pip install .
36- - name : Run tests
36+ - name : Import module
3737 run : |
3838 python -m sounddevice
3939 python -c "import sounddevice as sd; print(sd._libname)"
4040 python -c "import sounddevice as sd; print(sd.get_portaudio_version())"
41+ python -c "import sounddevice as sd; print(sd.query_hostapis())"
42+ python -c "import sounddevice as sd; assert 'asio' not in sd._libname"
43+ python -c "import sounddevice as sd; assert not any(a['name'] == 'ASIO' for a in sd.query_hostapis())"
44+ - name : Import module (using the ASIO DLL)
45+ if : startsWith(matrix.os, 'windows')
46+ env :
47+ SD_ENABLE_ASIO : 1
48+ run : |
49+ python -m sounddevice
50+ python -c "import sounddevice as sd; print(sd._libname)"
51+ python -c "import sounddevice as sd; print(sd.get_portaudio_version())"
52+ python -c "import sounddevice as sd; print(sd.query_hostapis())"
53+ python -c "import sounddevice as sd; assert 'asio' in sd._libname"
54+ python -c "import sounddevice as sd; assert any(a['name'] == 'ASIO' for a in sd.query_hostapis())"
You can’t perform that action at this time.
0 commit comments