Skip to content

Commit c180aa2

Browse files
committed
mixer_test: Add skip for test failing on msys2
1 parent ebc0646 commit c180aa2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build-msys2.yml

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
echo "\nRun tests\n"
7070
export SDL_VIDEODRIVER=dummy
7171
export SDL_AUDIODRIVER=disk
72+
export PYGAME_MSYS2=1
7273
python -m test -v --exclude opengl,music,timing --time_out 300
7374
7475
- uses: actions/upload-artifact@v3

test/mixer_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ def test_queue(self):
812812
"""
813813
Ensure the Channel.queue() works correctly
814814
"""
815+
if os.environ.get("PYGAME_MSYS2") == "1":
816+
self.skipTest("Skip test on MSYS2")
815817

816818
# Setup
817819
channel = mixer.Channel(0)

0 commit comments

Comments
 (0)