test: add timeout in matrix test #5923
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Flutter Test | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Flutter Test on macOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: kuhnroyal/flutter-fvm-config-action@v2 | |
id: fvm-config-action | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
- name: Install mpv | |
run: brew install mpv | |
- name: Get dependencies | |
run: flutter pub get | |
- name: Get pod dependencies | |
run: pod install | |
working-directory: macos | |
- name: Run Flutter tests | |
run: flutter test | |
- uses: codecov/codecov-action@v3 |