diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd60f96..4524250 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Node CI -on: [push, pull_request] +on: pull_request jobs: build: @@ -52,3 +52,19 @@ jobs: - name: Run tests run: npm test + + # Summary job that all matrix jobs must pass + # Used as the required status check in branch protection + test-summary: + name: Test Summary + runs-on: ubuntu-latest + needs: build + if: always() + steps: + - name: Check build matrix status + run: | + if [ "${{ needs.build.result }}" != "success" ]; then + echo "One or more build jobs failed" + exit 1 + fi + echo "All build jobs passed successfully" diff --git a/deps/mpg123/src/output/coreaudio.c b/deps/mpg123/src/output/coreaudio.c index c9db31e..af241aa 100644 --- a/deps/mpg123/src/output/coreaudio.c +++ b/deps/mpg123/src/output/coreaudio.c @@ -78,7 +78,8 @@ static OSStatus playProc(AudioConverterRef inAudioConverter, /* Only play if we have data left */ if ( sfifo_used( &ca->fifo ) < (int)wanted ) { if(!ca->decode_done) { - warning("Didn't have any audio data in callback (buffer underflow)"); + // Commented out below warning because it floods stdout + // warning("Didn't have any audio data in callback (buffer underflow)"); return -1; } wanted = sfifo_used( &ca->fifo );