Skip to content

Commit

Permalink
#1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
susatthi committed May 2, 2022
1 parent e9081ed commit 8fb4442
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ jobs:
run: dart format --set-exit-if-changed .
- name: Static analyze project
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run tests
run: dart test

coverage:
name: Coverage
needs:
- test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Download dart sdk
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install dependencies
run: dart pub get
- name: Run tests
run: dart test --coverage=coverage
- name: Convert coverage to ICOV
Expand All @@ -44,4 +64,4 @@ jobs:
file: coverage/lcov.info
fail_ci_if_error: true
flags: unittests
verbose: true
verbose: true

0 comments on commit 8fb4442

Please sign in to comment.