File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 run : |
1919 cd basic_games
2020 poetry --no-root install
21+ - name : Setup xvfb (Linux)
22+ if : runner.os == 'Linux'
23+ run : |
24+ # Stuff copied wildly from several stackoverflow posts
25+ sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 libxcb-shape0 libglib2.0-0 libgl1-mesa-dev
26+ sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
27+ # start xvfb in the background
28+ sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
2129 - name : Run tests
22- uses : GabrielBB/xvfb-action@v1
23- with :
24- run : poetry run poe test
25- working-directory : basic_games
30+ run : |
31+ cd basic_games
32+ poetry run poe test
You can’t perform that action at this time.
0 commit comments