Skip to content

Commit ef5516a

Browse files
committed
uncomment other tests to test integration test
1 parent 6e5aba2 commit ef5516a

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

.github/workflows/flutter_test.yml

+22-23
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: flutter native & integration test
22
on:
33
# Currently broken, enable after fixing
4-
workflow_dispatch
4+
# workflow_dispatch
55
# push:
66
# branches:
77
# - main
88
# - release/**
9-
# pull_request:
10-
# paths-ignore:
11-
# - 'file/**'
9+
pull_request:
10+
paths-ignore:
11+
- 'file/**'
1212

1313
env:
1414
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
@@ -80,17 +80,17 @@ jobs:
8080
working-directory: ./flutter/example/android
8181
run: flutter build apk --debug
8282

83-
- name: launch android emulator & run android native test
84-
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected]
85-
with:
86-
working-directory: ./flutter/example/android
87-
api-level: 21
88-
force-avd-creation: false
89-
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
90-
disable-animations: true
91-
arch: x86_64
92-
profile: Nexus 6
93-
script: ./gradlew testDebugUnitTest
83+
# - name: launch android emulator & run android native test
84+
# uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected]
85+
# with:
86+
# working-directory: ./flutter/example/android
87+
# api-level: 21
88+
# force-avd-creation: false
89+
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
90+
# disable-animations: true
91+
# arch: x86_64
92+
# profile: Nexus 6
93+
# script: ./gradlew testDebugUnitTest
9494

9595
# - name: launch android emulator & run android integration test
9696
# uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #[email protected]
@@ -140,12 +140,11 @@ jobs:
140140
echo "SIMULATOR_ID=${simulator_id}" >> "$GITHUB_OUTPUT"
141141
xcrun simctl boot ${simulator_id}
142142
143-
- name: run ios native test
144-
working-directory: ./flutter/example/ios
145-
env:
146-
SIMULATOR_ID: ${{ steps.sim.outputs.SIMULATOR_ID }}
147-
run: xcodebuild test -workspace Runner.xcworkspace -scheme Runner -configuration Debug -destination "platform=iOS Simulator,id=$SIMULATOR_ID" -allowProvisioningUpdates CODE_SIGNING_ALLOWED=NO
148-
149-
# - name: run ios integration test
150-
# run: flutter test integration_test/integration_test.dart --verbose
143+
# - name: run ios native test
144+
# working-directory: ./flutter/example/ios
145+
# env:
146+
# SIMULATOR_ID: ${{ steps.sim.outputs.SIMULATOR_ID }}
147+
# run: xcodebuild test -workspace Runner.xcworkspace -scheme Runner -configuration Debug -destination "platform=iOS Simulator,id=$SIMULATOR_ID" -allowProvisioningUpdates CODE_SIGNING_ALLOWED=NO
151148

149+
- name: run ios integration test
150+
run: flutter test integration_test/integration_test.dart --verbose

0 commit comments

Comments
 (0)