|
1 | | -name: Sanitizers |
| 1 | +name: Nightly instrumented tests |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | schedule: |
5 | | - - cron: "0 0 * * *" # Midnight UTC, daily. |
| 5 | + - cron: "0 7 * * *" # 7am UTC, daily. |
| 6 | + workflow_dispatch: |
6 | 7 |
|
7 | 8 | jobs: |
| 9 | + linux-race: |
| 10 | + name: linux-race |
| 11 | + runs-on: ubuntu-latest |
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v4 |
| 14 | + |
| 15 | + - name: Set up Go |
| 16 | + uses: actions/setup-go@v4 |
| 17 | + with: |
| 18 | + go-version: "1.23" |
| 19 | + |
| 20 | + - run: GOTRACEBACK=all make testrace TAGS= |
| 21 | + |
| 22 | + - name: Post issue on failure |
| 23 | + if: failure() |
| 24 | + id: create-or-update-unique-issue |
| 25 | + uses: ./.github/actions/post-issue |
| 26 | + with: |
| 27 | + title: "nightly testrace failed" |
| 28 | + body: "The nightly testrace run failed on ${{ github.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})." |
| 29 | + unique-title-includes: "nightly testrace failed" |
| 30 | + labels: "C-test-failure" |
| 31 | + |
8 | 32 | linux-asan: |
9 | | - name: go-linux-asan |
| 33 | + name: linux-asan |
10 | 34 | runs-on: ubuntu-latest |
11 | 35 | steps: |
12 | | - - uses: actions/checkout@v2 |
| 36 | + - uses: actions/checkout@v4 |
| 37 | + |
| 38 | + - name: Set up Go |
| 39 | + uses: actions/setup-go@v4 |
| 40 | + with: |
| 41 | + go-version: "1.23" |
13 | 42 |
|
14 | | - - name: Set up Go |
15 | | - uses: actions/setup-go@v2 |
16 | | - with: |
17 | | - go-version: "1.23" |
| 43 | + - run: make testasan |
18 | 44 |
|
19 | | - - run: make testasan |
| 45 | + - name: Post issue on failure |
| 46 | + if: failure() |
| 47 | + id: create-or-update-unique-issue |
| 48 | + uses: ./.github/actions/post-issue |
| 49 | + with: |
| 50 | + title: "nightly testasan failed" |
| 51 | + body: "The nightly asan test run failed on ${{ github.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})." |
| 52 | + unique-title-includes: "nightly testasan failed" |
| 53 | + labels: "C-test-failure" |
20 | 54 |
|
21 | 55 | linux-msan: |
22 | | - name: go-linux-msan |
| 56 | + name: linux-msan |
23 | 57 | runs-on: ubuntu-latest |
24 | 58 | steps: |
25 | | - - uses: actions/checkout@v2 |
| 59 | + - uses: actions/checkout@v4 |
| 60 | + |
| 61 | + - name: Set up Go |
| 62 | + uses: actions/setup-go@v4 |
| 63 | + with: |
| 64 | + go-version: "1.23" |
| 65 | + |
| 66 | + - run: make testmsan |
26 | 67 |
|
27 | | - - name: Set up Go |
28 | | - uses: actions/setup-go@v2 |
29 | | - with: |
30 | | - go-version: "1.23" |
| 68 | + - name: Post issue on failure |
| 69 | + if: failure() |
| 70 | + id: create-or-update-unique-issue |
| 71 | + uses: ./.github/actions/post-issue |
| 72 | + with: |
| 73 | + title: "nightly testmsan failed" |
| 74 | + body: "The nightly msan test run failed on ${{ github.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})." |
| 75 | + unique-title-includes: "nightly testmsan failed" |
| 76 | + labels: "C-test-failure" |
31 | 77 |
|
32 | | - - run: make testmsan |
|
0 commit comments