Skip to content

Commit 1ee9410

Browse files
committed
github: add issue posting to stress nightly
1 parent a48d4fc commit 1ee9410

File tree

3 files changed

+34
-24
lines changed

3 files changed

+34
-24
lines changed
File renamed without changes.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Nightly stress test
2+
3+
on:
4+
schedule:
5+
- cron: '00 10 * * * ' # 10am UTC daily
6+
workflow_dispatch:
7+
8+
jobs:
9+
10+
linux-stress:
11+
name: linux-stress
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v4
18+
with:
19+
go-version: "1.23"
20+
21+
- name: Run unit tests under stress
22+
run: |
23+
go install github.com/cockroachdb/stress@latest
24+
scripts/stress.sh
25+
26+
- name: Post issue on failure
27+
if: failure()
28+
id: create-or-update-unique-issue
29+
uses: ./.github/actions/post-issue
30+
with:
31+
title: "nightly stress tests failed"
32+
body: "The nightly tress test run failed on ${{ github.sha }}. Please review the run [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
33+
unique-title-includes: "nightly stress tests failed"
34+
labels: "C-test-failure"

.github/workflows/stress.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)