Unverified Commit bd4376ca authored by godofredoc's avatar godofredoc Committed by GitHub

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

parent 41a13a3a
...@@ -17,12 +17,13 @@ jobs: ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment