Skip to content

Merge branch 'main' of https://github.com/schultek/dart_mappable #244

Merge branch 'main' of https://github.com/schultek/dart_mappable

Merge branch 'main' of https://github.com/schultek/dart_mappable #244

Workflow file for this run

name: Dart CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Analyze and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1.3
with:
sdk: 3.9.0
- name: Bootstrap
run: |
dart pub global activate melos
dart pub global activate coverage
melos bootstrap
- name: Check formatting
run: melos run format
- name: Generate Code
run: melos run build
- name: Lint
run: melos run analyze
- name: Run Unit tests
run: melos run coverage --no-select
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
files: coverage/*_lcov.info
token: ${{ secrets.CODECOV_TOKEN }}