Skip to content

Merge branch 'releases' into main #93

Merge branch 'releases' into main

Merge branch 'releases' into main #93

name: Dart Unit Tests
on:
push:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [stable]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze
if: always()
- name: Run build_runner
run: dart run build_runner build --delete-conflicting-outputs
if: always()
- name: Run tests
run: dart test
if: always()