Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore committed Sep 14, 2023
1 parent 68ed63e commit ca03798
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: pytest
jobs:
test:
runs-on: ubuntu-latest
env:
DISPLAY: ':99.0'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
Expand All @@ -17,6 +19,10 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install pytest-qt==4.2.0
- name: Setup tests
run: |
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
- name: Run tests
run: |
pytest tests/gui.py

0 comments on commit ca03798

Please sign in to comment.