Fix license detection on pub.dev #246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: [push, pull_request] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:2.12 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: pub get | |
- name: Collect coverage | |
run: | | |
pub global activate test_coverage | |
pub global run test_coverage | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: coverage/lcov.info |