Feature/set support #2
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: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
coverage-hive: | |
runs-on: ubuntu-latest | |
container: | |
image: google/dart:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Collect coverage | |
run: | | |
dart pub get | |
dart pub global activate test_coverage | |
dart pub global run test_coverage --exclude "**/js/**" | |
working-directory: hive | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: hive/coverage/lcov.info |