summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-05-23 17:51:39 -0700
committerGitHub <noreply@github.com>2024-05-23 17:51:39 -0700
commit8e549ee616516309612a465cbce7fc7f26cda345 (patch)
tree8fd93168e10d306551502c7a78dd7c02a4a168b5 /.github
parenta4cc5b073cfac2891e999d96c012a374e3536628 (diff)
CTS: Report error when CTS fails (#4219)
The CTS nightly stops report error because of `continue-on-error` is set to true. Remove that field such that it will fail the job. Add slack notification about the CTS status, this will report the status of CTS nightly result to our slack dev channel.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/vk-gl-cts-nightly.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/vk-gl-cts-nightly.yml b/.github/workflows/vk-gl-cts-nightly.yml
index e04e936a3..9d2e0b94f 100644
--- a/.github/workflows/vk-gl-cts-nightly.yml
+++ b/.github/workflows/vk-gl-cts-nightly.yml
@@ -12,7 +12,6 @@ jobs:
build:
runs-on: [Windows, self-hosted]
timeout-minutes: 180
- continue-on-error: true
steps:
- uses: actions/checkout@v4
with:
@@ -54,3 +53,14 @@ jobs:
working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64
run: |
.\deqp-vk.exe --deqp-archive-dir=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 --deqp-caselist-file=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-passing-tests.txt
+ - name: result notification
+ id: slack-notify
+ if : always()
+ uses: slackapi/slack-github-action@v1.26.0
+ with:
+ payload: |
+ {
+ "CTS-Nightly": "CTS nightly status: ${{ job.status }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
+ }
+ env:
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}