Skip to content

Commit

Permalink
👷 upload coverage to Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse committed May 14, 2024
1 parent e6c2234 commit fc2af1d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,19 @@ jobs:
run: |
dart pub global run coverage:test_with_coverage
dart pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '\.g\.dart$'
- name: Upload coverage
- name: Upload coverage to Codecov
if: ${{ matrix.platform == 'vm' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: techouse/qs
file: ./coverage/lcov.info
verbose: true
- name: Upload coverage to Codacy
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/lcov.info
ensure_compatibility:
name: "Ensure compatibility with qs"
needs: analyze
Expand Down

0 comments on commit fc2af1d

Please sign in to comment.