Report coverage to codecov rather than coveralls. (#113084)

This commit is contained in:
godofredoc 2022-10-07 12:50:46 -07:00 committed by GitHub
parent 41a13a3a90
commit bd4376ca0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,12 +17,13 @@ jobs:
checks: write # for coverallsapp/github-action to create new checks checks: write # for coverallsapp/github-action to create new checks
name: coverage name: coverage
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps: steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: ./bin/flutter test --coverage - name: ./bin/flutter test --coverage
run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd run: pushd packages/flutter;../../bin/flutter test --coverage -j 1;popd
- name: upload coverage - name: upload coverage
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} files: packages/flutter/coverage/lcov.info
path-to-lcov: packages/flutter/coverage/lcov.info verbose: true