Skip to content

Merge pull request #44 from Workiva/widenTestCore #118

Merge pull request #44 from Workiva/widenTestCore

Merge pull request #44 from Workiva/widenTestCore #118

Workflow file for this run

name: Dart CI
on:
push:
branches:
- 'master'
- 'test_consume_*'
pull_request:
branches:
- '*'
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6
- run: dart format --set-exit-if-changed -o none .
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7, stable, beta ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- run: dart pub get
- run: dart run dependency_validator
- run: dart analyze
- run: dart test test/lib
- run: dart test test/bin
example:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7, stable, beta ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Example consumer tests
run: ./tool/test_example.sh