mirror of
https://github.com/flutter/flutter
synced 2024-08-28 20:40:11 +00:00
Report coverage to codecov rather than coveralls. (#113084)
This commit is contained in:
parent
41a13a3a90
commit
bd4376ca0a
7
.github/workflows/coverage.yml
vendored
7
.github/workflows/coverage.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue