Skip to content

Commit

Permalink
ci: add coverage report in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritaniAyaka committed Jan 27, 2024
1 parent 6af1b63 commit 494a9ac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ jobs:
- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze
- run: dart test
- name: Testing and coverage
run: dart test --coverage=./coverage
- name: Upload coverage result
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/test/
fail_ci_if_error: true
flags: unittests
name: lodart-unittest
verbose: true

0 comments on commit 494a9ac

Please sign in to comment.