Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Dec 27, 2023
1 parent 419c7dd commit d78c458
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ jobs:
if: matrix.platform == 'ubuntu-latest' && matrix.test-type == 'with-display'
run: |
sudo apt-get install -qq libxss-dev gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev xdotool x11-utils xdotool i3-wm
echo "DISPLAY=${DISPLAY}"
# Start a virtual frame buffer...
Xvfb :99 -screen 0 1920x1024x24 &
# wait a bit for it to be ready...
sleep 1
# and a window manager to get focus for testers
i3 &
# and wait again.
sleep 1
- name: unit tests
if: matrix.test-type == 'general'
Expand All @@ -66,4 +57,13 @@ jobs:
- name: display integration tests
if: matrix.test-type == 'with-display'
run: |
echo "DISPLAY=${DISPLAY}"
# Start a virtual frame buffer...
Xvfb :99 -screen 0 1920x1024x24 &
# wait a bit for it to be ready...
sleep 1
# and a window manager to get focus for testers
i3 &
# and wait again.
sleep 1
go test -p=1 -run TestDaemon ./cmd/watcher -verbose_log

0 comments on commit d78c458

Please sign in to comment.