Skip to content

Commit

Permalink
Update: test_coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AmosHuKe authored Dec 4, 2023
1 parent 9876d04 commit e41fcdd
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,20 @@ on:

jobs:
test_minimum_version:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.7.0'
- name: Flutter Dart Version
run: |
flutter --version
dart --version
- name: Prepare dependencies
run: flutter pub get
- name: Coverage
- name: Test Coverage
run: flutter test --coverage
test_latest_version:
runs-on: ubuntu-latest
Expand All @@ -37,9 +41,13 @@ jobs:
with:
channel: 'stable'
# flutter-version: '3.0.0'
- name: Flutter Dart Version
run: |
flutter --version
dart --version
- name: Prepare dependencies
run: flutter pub get
- name: Coverage
- name: Test Coverage
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit e41fcdd

Please sign in to comment.