diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbef7353..10e75a26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,14 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - + continue-on-error: ${{ matrix.experimental }} strategy: - fail-fast: false matrix: - tag: [latest, dev] + tag: [2.10, latest] + experimental: [false] + include: + - tag: dev + experimental: true container: image: google/dart:${{ matrix.tag }} @@ -17,11 +20,16 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Upgrade dependencies + if: ${{ matrix.experimental }} + run: dart pub upgrade + - name: Install dependencies - run: pub get + if: ${{ !matrix.experimental }} + run: dart pub get - name: Check Stage formatting - run: pub run bin/check_formatting.dart + run: dart run bin/check_formatting.dart - name: Run tests - run: pub run test + run: dart test