From cde0dca01e27ffed530840148cbd22a00437d983 Mon Sep 17 00:00:00 2001 From: guillaume Date: Wed, 20 Nov 2024 12:42:01 +0100 Subject: [PATCH] no longer using flutter_workflow, files cannot be shared between jobs, add golden failure upload --- .github/workflows/main.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 280db66..14079a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,18 +12,27 @@ concurrency: cancel-in-progress: true jobs: - quality: - uses: zweidenker/flutter_workflows/.github/workflows/melos_quality_checks.yaml@v2 - coverage: - needs: quality + quality: name: Quality Checks - runs-on: macos-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: subosito/flutter-action@v2 - uses: bluefireteam/melos-action@v1 + - name: Format, Lint, Publishability + run: melos run lint:all + - name: Run Tests + run: melos run test:coverage:all + - name: Archive Golden failures + if: failure() + uses: actions/upload-artifact@v3 + with: + name: Golden failures + retention-days: 2 + path: | + **/test/**/failures/**/*.* - name: Zweidenker Heinzelmen Coverage uses: VeryGoodOpenSource/very_good_coverage@v1 with: