File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 33
33
working-directory : git-repo
34
34
run : |
35
35
python -m pip install .
36
- - name : Run tests
36
+ - name : Import module
37
37
run : |
38
38
python -m sounddevice
39
39
python -c "import sounddevice as sd; print(sd._libname)"
40
40
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