From acbcbc60290dea0cd26b0d3ec82287b7ab7d46b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9C=D0=B8=D1=85?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= Date: Tue, 8 Dec 2020 12:36:12 +0300 Subject: [PATCH 1/5] Add dev container to CI (#270) --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4452fd69..24281f18 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,8 +6,12 @@ jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + tag: [latest, dev] + container: - image: google/dart:latest + image: google/dart:${{ matrix.tag }} steps: - uses: actions/checkout@v2 From 9fb5714e2b71fdd63a0e979572f47bd4e17ea8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9C=D0=B8=D1=85?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= Date: Tue, 8 Dec 2020 12:46:13 +0300 Subject: [PATCH 2/5] Disable fail-fast in CI strategy --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24281f18..cbef7353 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: tag: [latest, dev] From 48a4f371c1598e4af91b3649baaae88d334f2969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9C=D0=B8=D1=85?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= Date: Mon, 14 Dec 2020 19:27:16 +0300 Subject: [PATCH 3/5] Add 2.10 tag, Change dev to experimental --- .github/workflows/test.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbef7353..cd9cfb3b 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 From 290e1a21e470045321b255577cacd37644fda356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9C=D0=B8=D1=85?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= Date: Mon, 14 Dec 2020 19:51:03 +0300 Subject: [PATCH 4/5] Remove upgrade dependencies --- .github/workflows/test.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd9cfb3b..463894c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,12 +20,7 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Upgrade dependencies - if: ${{ matrix.experimental }} - run: dart pub upgrade - - name: Install dependencies - if: ${{ !matrix.experimental }} run: dart pub get - name: Check Stage formatting From aaacae02e316b1ee2ce2abceade184750aeef926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9C=D0=B8=D1=85?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= Date: Sat, 19 Dec 2020 17:19:37 +0300 Subject: [PATCH 5/5] Change matrix to 2.10 tag only --- .github/workflows/test.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 463894c5..d1f3689f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,14 +5,10 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest - continue-on-error: ${{ matrix.experimental }} strategy: + fail-fast: false matrix: - tag: ['2.10', latest] - experimental: [false] - include: - - tag: dev - experimental: true + tag: ['2.10'] container: image: google/dart:${{ matrix.tag }}