Skip to content

Commit

Permalink
💚 Fix tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BirjuVachhani committed Jun 5, 2022
1 parent 3c100b1 commit 78b5f32
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
- uses: actions/checkout@v1
- name: Install dependencies
run: dart pub get
- name: Activate Test Coverage
run: dart pub global activate test_coverage
- name: Run Tests & Generate Coverage
run: dart pub global run test_coverage .
- name: Run tests
run: dart pub run test
- name: Install coverage package
run: dart pub global activate coverage
- name: Generate coverage report
run: dart pub global run coverage:test_with_coverage
- name: Generate lcov file
run: dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --lcov -i coverage/coverage.json -o coverage/lcov.info
- uses: codecov/codecov-action@v1
with:
file: coverage/lcov.info

0 comments on commit 78b5f32

Please sign in to comment.