Skip to content

Commit 71761c2

Browse files
committed
Fix xserver on headless runner
1 parent 641c9a8 commit 71761c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/Android-CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676
run: |
7777
ls -ls MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
7878
cp MPChartExample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected/emulator-5554\ -\ 9/* screenshotsToCompare
79+
export DISPLAY=:99
80+
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
7981
./screenShotCompare.sh
8082
- name: Archive screenshots diffs
8183
if: ${{ always() }}

0 commit comments

Comments
 (0)