Skip to content

Commit

Permalink
Update python-app.yml (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
msanguineti authored Feb 29, 2024
1 parent d512038 commit ffec2cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y portaudio19-dev
sudo apt-get install -y portaudio19-dev xvfb
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Expand All @@ -38,4 +38,6 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
Xvfb :99 &
export DISPLAY=:99
pytest

0 comments on commit ffec2cf

Please sign in to comment.