diff --git a/.github/actions/create-soundcard/action.yaml b/.github/actions/create-soundcard/action.yaml index 62195c0..8a09216 100644 --- a/.github/actions/create-soundcard/action.yaml +++ b/.github/actions/create-soundcard/action.yaml @@ -21,6 +21,7 @@ runs: if: ${{ runner.os == 'macOS' }} shell: bash run: | + set -exo pipefail brew install blackhole-2ch switchaudio-osx SwitchAudioSource -s "BlackHole 2ch" -t input SwitchAudioSource -s "BlackHole 2ch" -t output diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 9200ae2..ccacbaa 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -32,6 +32,7 @@ jobs: python-version: ${{ matrix.python-version }} - uses: astral-sh/setup-uv@v4 - run: uv pip install --quiet --system .[test] + - run: python -m sounddevice - run: stimuli sys-info --developer - run: pytest stimuli --cov=stimuli --cov-report=xml --cov-config=pyproject.toml - uses: codecov/codecov-action@v5