Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
channel: stable
- run: flutter --version

- name: Run Flutter Doctor
run: |
flutter doctor -v

- name: Get dependencies
run: flutter pub get

Expand All @@ -102,10 +106,12 @@ jobs:
TEST_DV_PROJECT_URL: ${{ vars.TEST_DV_PROJECT_URL }}
run: |
flutter config --enable-swift-package-manager
xcrun simctl erase "iPhone 17"
xcrun simctl boot "iPhone 17"
xcrun simctl bootstatus "iPhone 17" -b
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})")"
DEVICE_ID=$(xcrun simctl create "trust-sdk-flutter" "iPhone 17" "iOS26.5")
xcrun simctl boot $DEVICE_ID
xcrun simctl bootstatus $DEVICE_ID -b
echo "Pre-warming simulator logging sub-systems..."
xcrun simctl spawn $DEVICE_ID log stream --timeout 5 > /dev/null || true
sleep 10
flutter clean
flutter pub get
./run-tests.sh $SIMULATOR_NAME
./run-tests.sh $DEVICE_ID
2 changes: 1 addition & 1 deletion integration_test_app/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ flutter test integration_test/compatiblity_test.dart \
--dart-define=TEST_CUV_PROJECT_ID="$TEST_CUV_PROJECT_ID" \
--dart-define=TEST_CUV_PROJECT_URL="$TEST_CUV_PROJECT_URL" \
--dart-define=TEST_DV_PROJECT_URL="$TEST_DV_PROJECT_URL" \
--timeout 30m \
--timeout 5m \
--reporter expanded \
--verbose
Loading