Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Sep 20, 2023
1 parent a16c239 commit ce8b7c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ runs:
shell: bash

- name: Run tests
run: dart test --coverage=coverage
run: grind test collect-coverage
shell: bash
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ jobs:

- name: Run tests
uses: ./.github/actions/test


- name: Generate coverage reports
run: grind collect-coverage
shell: bash


- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
1 change: 1 addition & 0 deletions tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Future<void> test() async {
}

@Task('Gather coverage and generate report')
@Depends(test)
Future<void> collectCoverage() async {
await runAsync(
'dart',
Expand Down

0 comments on commit ce8b7c5

Please sign in to comment.