From 50b9bba3b27bf1f7a87054ef2a26bd1cca832b8d Mon Sep 17 00:00:00 2001 From: Marius Merschformann Date: Tue, 9 Jul 2024 17:44:46 +0200 Subject: [PATCH] Add success steps for matrix tests --- .github/workflows/go-lint.yml | 9 +++++++++ .github/workflows/golden.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index da00592..86d068b 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -35,3 +35,12 @@ jobs: with: version: v1.56.2 working-directory: ${{ matrix.MOD_PATH }} + + go-lint-success: + runs-on: ubuntu-latest + needs: community-apps-go-lint + if: ${{ needs.community-apps-go-lint.result == 'success' }} + steps: + - name: Notify success + run: | + echo "All linting passed" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/golden.yml b/.github/workflows/golden.yml index 7afb35c..dd9223b 100644 --- a/.github/workflows/golden.yml +++ b/.github/workflows/golden.yml @@ -85,3 +85,12 @@ jobs: echo "Running tests for ${{ matrix.apps.name }}" go test -v ./... working-directory: .nextmv/golden/${{ matrix.apps.name }} + + golden-success: + runs-on: ubuntu-latest + needs: golden-file-test + if: ${{ needs.golden-file-test.result == 'success' }} + steps: + - name: Notify success + run: | + echo "All tests passed" >> $GITHUB_STEP_SUMMARY