Skip to content

increase test coverage #6

increase test coverage

increase test coverage #6

Workflow file for this run

name: Publish
env:
dart_version: 2.19.2
on:
push:
branches:
- main
- staging
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ env.dart_version }}
- name: Pub Get
run: dart pub get
- name: Run Tests
run: |
dart test --coverage=coverage
dart run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Publish to pub.dev
uses: dart pub publish --dry-run # Remove dry run when ready to start publishing