|
50 | 50 | --target=integration_test/webcrypto_test.dart \
|
51 | 51 | -d chrome
|
52 | 52 | - run: xvfb-run flutter pub run test -p vm,chrome,firefox
|
53 |
| - macos: |
54 |
| - name: webcrypto on macOS desktop / Chrome |
55 |
| - runs-on: macos-14 |
| 53 | + macos-14: |
| 54 | + name: webcrypto on macOS 14 desktop / Chrome |
| 55 | + runs-on: macos-14 # Test with xcode 15 |
56 | 56 | steps:
|
57 | 57 | - uses: actions/checkout@v4
|
58 | 58 | - uses: subosito/flutter-action@v2
|
|
68 | 68 | - run: flutter test --platform chrome
|
69 | 69 | - run: flutter test integration_test/webcrypto_test.dart -d macos
|
70 | 70 | working-directory: ./example
|
71 |
| - # TODO: Enable chromdriver testing on MacOS when it works reliably |
| 71 | + # TODO: Enable chromedriver testing on MacOS when it works reliably |
72 | 72 | #- uses: nanasess/setup-chromedriver@v2
|
73 | 73 | #- name: Run integration_test with chromedriver
|
74 | 74 | # working-directory: ./example
|
|
77 | 77 | # --driver=test_driver/integration_test.dart \
|
78 | 78 | # --target=integration_test/webcrypto_test.dart \
|
79 | 79 | # -d chrome
|
80 |
| - - run: flutter pub run test -p vm,chrome # TODO: Enable firefox if it works |
| 80 | + # TODO: Enable firefox testing on MacOS when it works |
| 81 | + - run: flutter pub run test -p vm,chrome |
| 82 | + macos-15: |
| 83 | + name: webcrypto on macOS 15 desktop / Chrome |
| 84 | + runs-on: macos-15 # Test with xcode 16 |
| 85 | + steps: |
| 86 | + - uses: actions/checkout@v4 |
| 87 | + - uses: subosito/flutter-action@v2 |
| 88 | + with: |
| 89 | + channel: 'stable' |
| 90 | + cache: true |
| 91 | + - name: Configure Flutter |
| 92 | + run: | |
| 93 | + flutter config --no-analytics |
| 94 | + - run: flutter pub get |
| 95 | + - run: flutter pub run webcrypto:setup |
| 96 | + - run: flutter test |
| 97 | + - run: flutter test --platform chrome |
| 98 | + - run: flutter test integration_test/webcrypto_test.dart -d macos |
| 99 | + working-directory: ./example |
| 100 | + # TODO: Enable chromedriver testing on MacOS when it works reliably |
| 101 | + # TODO: Enable firefox testing on MacOS when it works |
| 102 | + - run: flutter pub run test -p vm,chrome |
81 | 103 | windows:
|
82 | 104 | name: webcrypto on Windows desktop / Chrome / Firefox
|
83 | 105 | runs-on: windows-latest
|
|
0 commit comments