Skip to content

Commit 1b3b29c

Browse files
committed
fix: Update Linux integration test step to use setup-xvfb action for improved execution
1 parent 4c2a202 commit 1b3b29c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/flutter-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ jobs:
6666
run: sudo apt-get update && sudo apt-get install -y xvfb libgtk-3-dev libstdc++-12-dev
6767

6868
- name: Run linux integration tests
69-
if: runner.os == 'Linux'
70-
# desktop integration tests run on the same container; wrap in Xvfb
71-
run: |
72-
xvfb-run flutter test integration_test/app_test.dart -d linux
69+
uses: coactions/setup-xvfb@v1
70+
with:
71+
run: flutter test integration_test/app_test.dart -d linux -r github
7372

7473
build-apk:
7574
needs: test

0 commit comments

Comments
 (0)