Skip to content

Commit

Permalink
CTS: Report error when CTS fails (#4219)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kaizhangNV authored May 24, 2024
1 parent a4cc5b0 commit 8e549ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/vk-gl-cts-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
build:
runs-on: [Windows, self-hosted]
timeout-minutes: 180
continue-on-error: true
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -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 }}

0 comments on commit 8e549ee

Please sign in to comment.