Skip to content

Nightly Sanitized Run #344

Nightly Sanitized Run

Nightly Sanitized Run #344

Workflow file for this run

name: Nightly Sanitized Run
on:
schedule:
# Runs every day at 03:00 UTC
- cron: '0 3 * * *'
workflow_dispatch:
permissions:
contents: read
actions: read
jobs:
run-test:
uses: ./.github/workflows/test_workflow.yml
with:
configuration: '["asan"]' # Ignoring tsan for now '["asan", "tsan"]'
report-failures:
runs-on: ubuntu-latest
needs: run-test
if: failure()
steps:
- name: Download failed tests artifact
uses: actions/download-artifact@v3
with:
name: failures
path: ./artifacts
- name: Report failures
run: |
find ./artifacts -name 'failures_*' -exec cat {} \; > ./artifacts/failures.txt
scenarios=$(cat ./artifacts/failures.txt | tr '\n' ',')
echo "Failed scenarios: $scenarios"
curl -X POST "${{ secrets.SLACK_WEBHOOK }}" \
-H 'Content-Type: application/json' \
-d "{'scenarios': '${scenarios}', 'failed_run_url': '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'}"