From 0d962fbe6618494f410cfe09b96e6f8a36807f5d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Mar 2021 15:33:51 +0100 Subject: [PATCH] Set working directory for the GUI test build step too This is more consistent with the non-GUI tests and avoids the need for pushd/popd (the latter one was not needed anyhow, actually). --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06181950f3..70842fa0a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -219,6 +219,7 @@ jobs: - name: Testing GUI using Xvfb if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.use_xvfb + working-directory: tests run: | if [ ${{ matrix.use_asan }} ]; then # Leak suppression only works if we have debug symbols available, @@ -231,9 +232,7 @@ jobs: fi export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0" fi - pushd tests xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui - popd - name: Building samples if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.skip_samples != true