Skip to content

Commit ad017cc

Browse files
committed
Try xcb libs 5
1 parent 8625c50 commit ad017cc

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,26 @@ jobs:
3737

3838
- name: Run Unit Tests
3939
if: matrix.os == 'ubuntu-22.04'
40+
id: e2e-tests
41+
continue-on-error: true
4042
run: |
43+
mkdir -p test/__diff__
44+
touch test/__diff__/.empty
4145
sudo apt-get update -qq
4246
sudo apt-get install -qq libgles2-mesa-dev libxcb-cursor0 libxcb-icccm4 libxcb-keysyms1 libxcb-shape0 libxcb-xkb1 libxkbcommon-x11-0
4347
sudo apt-get install -qq libdbus-1-3 libxcb-image0 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
44-
# QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum npm run test-ci
45-
QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum node test/debug.js
48+
QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum npm run test-ci
49+
# QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORM=xcb xvfb-run --auto-servernum node test/debug.js
50+
51+
# - name: Pack Screenshots
52+
# if: matrix.os == 'ubuntu-22.04' && steps.e2e-test.outcome == 'failure'
53+
# run: cd test/__diff__ && tar -czf ../__diff__.gz *
54+
55+
- uses: actions/upload-artifact@v4
56+
if: matrix.os == 'ubuntu-22.04'
57+
with:
58+
name: __diff__
59+
path: test/__diff__
60+
retention-days: 1
61+
compression-level: 0
62+
overwrite: true

0 commit comments

Comments
 (0)