Skip to content

Commit 23192ba

Browse files
committed
ci: update macOS and iOS jobs to use latest runner and improve test commands
1 parent 74078d6 commit 23192ba

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525
jobs:
2626
macos:
2727
name: Test on macOS
28-
runs-on: macos-15
28+
runs-on: macos-latest
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
4646
ios:
4747
name: Test on iOS
48-
runs-on: macos-15
48+
runs-on: macos-latest
4949
steps:
5050
- name: Checkout repository
5151
uses: actions/checkout@v4
@@ -60,7 +60,10 @@ jobs:
6060
id: simulator
6161
uses: futureware-tech/simulator-action@v4
6262
with:
63+
# https://github.com/futureware-tech/simulator-action/wiki/Devices-macos-latest
6364
model: 'iPhone 16 Pro Max'
65+
os: "iOS"
66+
os_version: "^18.6"
6467
shutdown_after_job: true
6568
wait_for_boot: true
6669

@@ -69,7 +72,7 @@ jobs:
6972
working-directory: "src/serious_python/example/flet_example"
7073
run: |
7174
dart run serious_python:main package app/src --platform iOS --requirements flet
72-
flutter drive --device-id ${{ steps.simulator.outputs.udid }} --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart
75+
flutter test integration_test --device-id ${{ steps.simulator.outputs.udid }}
7376
7477
android:
7578
name: Test on Android
@@ -143,7 +146,7 @@ jobs:
143146
flutter test integration_test -d windows
144147
145148
linux:
146-
name: Build Flet Client for Linux ${{ matrix.title }}
149+
name: Test on Linux ${{ matrix.title }}
147150
runs-on: ${{ matrix.runner }}
148151
strategy:
149152
fail-fast: false

0 commit comments

Comments
 (0)