Skip to content

Commit

Permalink
Playing with dummy sound card
Browse files Browse the repository at this point in the history
  • Loading branch information
abanuelo committed Jun 25, 2024
1 parent cf71aa0 commit 646fdd5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/run-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,27 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev libpng-dev alsa-utils
aplay -l
sudo apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libfreetype6-dev libportmidi-dev libjpeg-dev libpng-dev
sudo bash -c 'cat <<EOL > /etc/asound.conf
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
EOL'
sudo alsa force-reload
- name: Install Scenic and dependencies
run: |
python -m pip install -e ".[${{ matrix.extras }}]"
- name: Run and report code coverage
run: |
pytest --cov --cov-report json
pytest tests/simulators/newtonian/test_newtonian.py --cov --cov-report json
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
Expand Down

0 comments on commit 646fdd5

Please sign in to comment.