Revert "Fix build on web" #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests Linux | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@main | |
with: | |
flutter-version: '3.x' | |
channel: 'stable' | |
- run: sudo apt-get update && sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev | |
- name: install deps | |
run: | | |
flutter config --enable-linux-desktop | |
flutter pub get | |
- run: sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | |
- run: "cd example && DISPLAY=:99 flutter test -d linux integration_test/app_test.dart" | |
- run: "cd example && flutter test test/app_test.dart" |