This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
chore(deps): bump freezed_annotation from 2.4.1 to 2.4.4 #511
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: tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "lib/**" | |
- "test/**" | |
- "integration_test/**" | |
- "pubspec.yaml" | |
- ".github/workflows/test.yaml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "lib/**" | |
- "test/**" | |
- "integration_test/**" | |
- "pubspec.yaml" | |
- ".github/workflows/test.yaml" | |
jobs: | |
test: | |
name: 🧪 Test | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | |
timeout-minutes: 10 | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v4 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2.16.0 | |
with: | |
cache: true | |
- name: Install app dependencies | |
run: flutter pub get | |
- name: Test app | |
run: flutter test --coverage --no-pub | |
- name: Check Code Coverage | |
uses: VeryGoodOpenSource/very_good_coverage@v3.0.0 | |
with: | |
min_coverage: 92 | |
exclude: "**/*.g.dart **/*.gen.dart **/*.freezed.dart" | |
- name: Upload Code Coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
file: ./coverage/lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} |