From 3d028d4ba06c17f2deb9b6fb75acc78e9c166089 Mon Sep 17 00:00:00 2001
From: Paul Abel
Date: Tue, 9 Jan 2024 12:15:55 +0000
Subject: [PATCH] add final job to consolidate the smoke test result
---
.github/workflows/ci.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 559b1db45a..6695836c81 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -369,6 +369,20 @@ jobs:
path: ${{ github.workspace }}/tests/${{ steps.smoke-tests.outputs.test-results-name }}.html
if: always()
+ smoke-results:
+ if: ${{ always() }}
+ runs-on: ubuntu-22.04
+ name: Final Smoke Test Results
+ needs: [smoke-tests]
+ steps:
+ - run: |
+ result="${{ needs.smoke-tests.result }}"
+ if [[ $result == "success" || $result == "skipped" ]]; then
+ exit 0
+ else
+ exit 1
+ fi
+
build-docker:
name: Build Docker OSS
needs: [checks, smoke-tests]