From d78c458755cc7e8414d3b135a6b78028b677b131 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Wed, 27 Dec 2023 12:29:40 +1030 Subject: [PATCH] fix --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea86a2c..7305141 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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