File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 21
21
PUB_ENVIRONMENT : bot.github
22
22
23
23
jobs :
24
- verify :
25
- name : Format & Analyze & Test
24
+ macos :
25
+ name : " macOS: Format & Analyze & Test"
26
26
runs-on : macos-latest
27
27
defaults :
28
28
run :
29
29
working-directory : pkgs/cupertino_http
30
30
strategy :
31
- fail-fast : false
32
31
matrix :
33
32
# Test on the minimum supported flutter version and the latest
34
33
# version.
35
34
flutter-version : ["3.24.0", "any"]
35
+ # It would be nice to test on older versions of macOS but macOS 13 is
36
+ # the oldest supported by GitHub.
37
+ os : [macos-13, macos-latest]
36
38
steps :
37
39
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
38
40
- uses : subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
48
50
- name : Analyze code
49
51
run : flutter analyze --fatal-infos
50
52
if : always() && steps.install.outcome == 'success'
53
+ - name : Run tests
54
+ run : |
55
+ cd example
56
+ flutter pub get
57
+ flutter test -d macos integration_test/main.dart --test-randomize-ordering-seed=random
58
+ ios :
59
+ name : " iOS: Test"
60
+ runs-on : macos-latest
61
+ defaults :
62
+ run :
63
+ working-directory : pkgs/cupertino_http
64
+ strategy :
65
+ fail-fast : false
66
+ matrix :
67
+ # Test on the minimum supported flutter version and the latest
68
+ # version.
69
+ flutter-version : ["3.24.0", "any"]
70
+ steps :
71
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
72
+ - uses : subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
73
+ with :
74
+ flutter-version : ${{ matrix.flutter-version }}
75
+ channel : ' stable'
76
+ - id : install
77
+ name : Install dependencies
78
+ run : flutter pub get
51
79
- uses : futureware-tech/simulator-action@dab10d813144ef59b48d401cd95da151222ef8cd
52
80
with :
53
81
os : iOS
You can’t perform that action at this time.
0 commit comments