Skip to content

Commit

Permalink
Add slack notification about the CTS status
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhangNV committed May 23, 2024
1 parent 6ceaad7 commit 0fae5b3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/vk-gl-cts-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ env:
jobs:
build:
runs-on: [Windows, self-hosted]
timeout-minutes: 100
continue-on-error: false
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -58,3 +57,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/[email protected]
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 0fae5b3

Please sign in to comment.