From aa3f1ad79af53b660ca537fe09699b49153ea215 Mon Sep 17 00:00:00 2001 From: codyshoffner Date: Mon, 12 Jan 2026 09:52:48 -0600 Subject: [PATCH] fix: always run verify test and fail if not successful --- .github/workflows/test.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 569e3e6..d16d99f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -54,6 +54,15 @@ jobs: verify-test: runs-on: ubuntu-latest needs: validate + if: always() steps: - - name: Success - run: echo "All tests passed successfully!" + - name: Check validate result + run: | + echo "validate result: ${{ needs.validate.result }}" + + if [ "${{ needs.validate.result }}" != "success" ]; then + echo "One or more tests failed." + exit 1 + fi + + echo "All tests passed successfully!"