Skip to content

Coverage

Coverage #21

Workflow file for this run

name: coverage
run-name: "Coverage"
on:
push:
branches:
- main
paths-ignore:
- "**.md"
- "example/**"
pull_request:
branches:
- main
paths-ignore:
- "**.md"
- "example/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
# flutter-version: '3.0.0'
- name: Prepare dependencies
run: flutter pub get
- name: Coverage
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}