From 528f2b20dc55761c998ea6ad40a3779f8371d977 Mon Sep 17 00:00:00 2001 From: Roman Bredehoft Date: Fri, 3 May 2024 13:55:22 +0200 Subject: [PATCH] chore: fix CI --- .github/workflows/continuous-integration.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 09509d6dc6..415a0a7647 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -1154,11 +1154,15 @@ jobs: if [[ "${{ env.JOB_STATUS }}" == "success" ]]; then TITLE_STATUS="passed ✅" + elif [[ "${{ env.JOB_STATUS }}" == "cancelled" ]]; then + TITLE_STATUS="cancelled :warning:" + elif [[ "${{ env.JOB_STATUS }}" == "skipped" ]]; then + TITLE_STATUS="skipped :fast_forward:" else TITLE_STATUS="failed ❌" fi - echo "SLACK_TITLE=${TITLE_START} ${TITLE_STATUS} ([Action URL](${{ env.ACTION_RUN_URL }}))" >> "$GITHUB_ENV" + echo "SLACK_TITLE=${TITLE_START} ${TITLE_STATUS}" >> "$GITHUB_ENV" # Retrieve the list of flaky tests that have been re-run if they were some # Enable 'merge-multiple' to download all files in the root directory @@ -1172,7 +1176,7 @@ jobs: # FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/4428 - name: Set message body run: | - SLACK_BODY="Build status:\n\ + SLACK_BODY="Build status (([Action URL](${{ env.ACTION_RUN_URL }}))):\n\ - Linux: ${{ needs.build-linux.result }}\n\n\ - macOS (intel): ${{ needs.build-macos-intel.result }}\n\n"