Skip to content

chore(deps): update zgosalvez/github-actions-report-lcov action to v4 #79

chore(deps): update zgosalvez/github-actions-report-lcov action to v4

chore(deps): update zgosalvez/github-actions-report-lcov action to v4 #79

Workflow file for this run

name: Test Package
on:
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
lint_and_test:
name: Linting and Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: dart format --fix --set-exit-if-changed .
- run: flutter analyze
- run: flutter test --coverage
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v4
with:
coverage-files: coverage/lcov*.info
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true