Skip to content

Commit

Permalink
fix linux ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dnys1 committed Mar 7, 2024
1 parent b993f27 commit 4238f00
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/celest_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,11 @@ jobs:
run: flutter pub get
- name: Test (Linux)
working-directory: packages/celest_core/example
run: flutter test --verbose -d linux integration_test/secure_storage_test.dart
run: |
# Headless tests require virtual display for the linux tests to run.
# from https://github.com/fluttercommunity/plus_plugins/blob/main/.github/workflows/scripts/integration-test.sh
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
# Needed for WebSocket connections in API GraphQL subscriptions.
sudo systemctl start NetworkManager.service
flutter test -d linux integration_test/secure_storage_test.dart

0 comments on commit 4238f00

Please sign in to comment.