Skip to content

Commit

Permalink
ci: add coverage check.
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
  • Loading branch information
xsahil03x committed Nov 11, 2023
1 parent fcc44c0 commit 102d127
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/super_pager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ jobs:
- name: 🕵️ Analyze
run: flutter analyze lib

- name: 🧪 Run Tests
run: flutter test --no-pub --coverage --test-randomize-ordering-seed random

- name: 📊 Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
min_coverage: 75

- name: 📁 Upload coverage to Codecov
uses: codecov/codecov-action@v3

release:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 102d127

Please sign in to comment.