Update CI: test #6
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: test | |
on: [push] | |
jobs: | |
test: | |
name: Test | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (main) | |
uses: actions/checkout@v4 | |
- name: Detect Flutter version | |
uses: kuhnroyal/flutter-fvm-config-action@v2 | |
id: fvm-config-action | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }} | |
cache: true | |
- name: Analyze | |
run: flutter analyze --fatal-infos | |
- name: Get Packages | |
run: flutter pub get | |
- name: Test | |
run: flutter test --coverage --reporter expanded |