Skip to content

Commit

Permalink
chore: disable integration tests (#35)
Browse files Browse the repository at this point in the history
While integration tests would have been nice, they are unreliable on
android and hard to debug on web.
Maybe there is some better solution...
  • Loading branch information
josxha authored Sep 20, 2024
1 parent 87b3873 commit 616c586
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,32 +81,32 @@ jobs:
# arch: x86_64
# emulator-boot-timeout: 1800 # 30 minutes
# script: cd example && flutter test integration_test -r expanded --timeout=none
integration-test-web:
name: "Integration Tests on Web"
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: example
steps:
- uses: actions/checkout@v4
- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
cache: true
- name: "Get Flutter dependencies"
run: flutter pub get
- name: "Start chromedriver"
run: |
sudo chromedriver --enable --port=4444 &
- name: "Run integration tests"
run: |
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/smoke_test.dart \
-d web-server \
--release \
--browser-name=chrome
# integration-test-web:
# name: "Integration Tests on Web"
# runs-on: ubuntu-latest
# timeout-minutes: 30
# defaults:
# run:
# working-directory: example
# steps:
# - uses: actions/checkout@v4
# - name: Setup Flutter SDK
# uses: subosito/flutter-action@v2
# with:
# cache: true
# - name: "Get Flutter dependencies"
# run: flutter pub get
# - name: "Start chromedriver"
# run: |
# sudo chromedriver --enable --port=4444 &
# - name: "Run integration tests"
# run: |
# flutter drive \
# --driver=test_driver/integration_test.dart \
# --target=integration_test/smoke_test.dart \
# -d web-server \
# --release \
# --browser-name=chrome
score:
name: "Package score"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 616c586

Please sign in to comment.