Skip to content

Commit

Permalink
Report coverage to codecov rather than coveralls. (#113084)
Browse files Browse the repository at this point in the history
  • Loading branch information
godofredoc committed Oct 7, 2022
1 parent 41a13a3 commit bd4376c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ jobs:
checks: write # for coverallsapp/github-action to create new checks
name: coverage
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: ./bin/flutter test --coverage
run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd
- name: upload coverage
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: packages/flutter/coverage/lcov.info
files: packages/flutter/coverage/lcov.info
verbose: true

0 comments on commit bd4376c

Please sign in to comment.