Skip to content

Commit 3e5da6b

Browse files
committed
test: update test ci configurations
1 parent ef165e1 commit 3e5da6b

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ jobs:
103103
TEST_CUV_PROJECT_URL: ${{ vars.TEST_CUV_PROJECT_URL }}
104104
TEST_DV_PROJECT_URL: ${{ vars.TEST_DV_PROJECT_URL }}
105105
run: |
106+
flutter config --enable-swift-package-manager
106107
xcrun simctl erase "iPhone 16"
108+
xcrun simctl boot "iPhone 16"
107109
xcrun simctl bootstatus "iPhone 16" -b
108110
SIMULATOR_NAME="$(xcrun simctl list devices | grep "(Booted)" | grep -E -o -i "([0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12})")"
111+
flutter clean
112+
flutter pub get
109113
./run-tests.sh $SIMULATOR_NAME

integration_test_app/run-tests.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
flutter test integration_test/compatiblity_test.dart -d $1 -v \
1+
flutter test integration_test/compatiblity_test.dart \
2+
-d $1 \
23
--dart-define=TEST_CUV_SERVICE_ACCOUNT_TOKEN="$TEST_CUV_SERVICE_ACCOUNT_TOKEN" \
34
--dart-define=TEST_USER_ID="$TEST_USER_ID" \
45
--dart-define=TEST_DV_PROJECT_ID="$TEST_DV_PROJECT_ID" \
56
--dart-define=TEST_CUV_PROJECT_ID="$TEST_CUV_PROJECT_ID" \
67
--dart-define=TEST_CUV_PROJECT_URL="$TEST_CUV_PROJECT_URL" \
7-
--dart-define=TEST_DV_PROJECT_URL="$TEST_DV_PROJECT_URL"
8+
--dart-define=TEST_DV_PROJECT_URL="$TEST_DV_PROJECT_URL" \
9+
--timeout 30m \
10+
--reporter expanded

0 commit comments

Comments
 (0)