Skip to content

updated

updated #49

Workflow file for this run

name: Codecov coverage workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Codecov coverage
steps:
- uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable' # Use the desired Flutter version
- name: Install dependencies
run: flutter pub get
- name: Run tests and collect coverage
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}