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).
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -219,6 +219,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Testing GUI using Xvfb
|
- name: Testing GUI using Xvfb
|
||||||
if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.use_xvfb
|
if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.use_xvfb
|
||||||
|
working-directory: tests
|
||||||
run: |
|
run: |
|
||||||
if [ ${{ matrix.use_asan }} ]; then
|
if [ ${{ matrix.use_asan }} ]; then
|
||||||
# Leak suppression only works if we have debug symbols available,
|
# Leak suppression only works if we have debug symbols available,
|
||||||
@@ -231,9 +232,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0"
|
export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0"
|
||||||
fi
|
fi
|
||||||
pushd tests
|
|
||||||
xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui
|
xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui
|
||||||
popd
|
|
||||||
|
|
||||||
- name: Building samples
|
- name: Building samples
|
||||||
if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.skip_samples != true
|
if: matrix.skip_testing != true && matrix.skip_gui != true && matrix.skip_samples != true
|
||||||
|
Reference in New Issue
Block a user