File tree Expand file tree Collapse file tree 2 files changed +40
-38
lines changed
Expand file tree Collapse file tree 2 files changed +40
-38
lines changed Original file line number Diff line number Diff line change 77 tags : [ "v*" ]
88 pull_request :
99 branches : [ main ]
10- schedule :
11- - cron : " 0 3 * * *"
1210jobs :
1311 build :
1412 runs-on : ubuntu-latest
9290
9391 integration-tests :
9492 name : Integration tests
95- if : github.event_name != 'schedule'
9693 runs-on : ubuntu-latest
9794
9895 strategy :
@@ -135,7 +132,6 @@ jobs:
135132
136133 replication-smoke :
137134 name : Replication smoke
138- if : github.event_name != 'schedule'
139135 runs-on : ubuntu-latest
140136
141137 steps :
@@ -166,37 +162,3 @@ jobs:
166162
167163 - name : Run replication smoke tests
168164 run : make ci-replication-smoke
169-
170- replication-stress-nightly :
171- name : Replication stress nightly
172- if : github.event_name == 'schedule'
173- runs-on : ubuntu-latest
174-
175- steps :
176- - name : Checkout
177- uses : actions/checkout@v3
178- with :
179- fetch-depth : 0
180-
181- - name : Set up Go
182- uses : actions/setup-go@v2
183- with :
184- go-version : " 1.24"
185-
186- - name : Configure git for private modules
187- env :
188- TOKEN : ${{ secrets.REPOSITORIES_ACCESS_TOKEN }}
189- USER : ${{ secrets.REPOSITORIES_ACCESS_USER }}
190- run : git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com"
191-
192- - name : Share cache with other actions
193- uses : actions/cache@v3
194- with :
195- path : |
196- ~/go/pkg/mod
197- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
198- restore-keys : |
199- ${{ runner.os }}-go-
200-
201- - name : Run replication stress tests
202- run : make ci-replication-stress
Original file line number Diff line number Diff line change 1+ name : Nightly Tests
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 3 * * *"
7+
8+ jobs :
9+ replication-stress-nightly :
10+ name : Replication stress nightly
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v2
21+ with :
22+ go-version : " 1.24"
23+
24+ - name : Configure git for private modules
25+ env :
26+ TOKEN : ${{ secrets.REPOSITORIES_ACCESS_TOKEN }}
27+ USER : ${{ secrets.REPOSITORIES_ACCESS_USER }}
28+ run : git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com"
29+
30+ - name : Share cache with other actions
31+ uses : actions/cache@v3
32+ with :
33+ path : |
34+ ~/go/pkg/mod
35+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
36+ restore-keys : |
37+ ${{ runner.os }}-go-
38+
39+ - name : Run replication stress tests
40+ run : make ci-replication-stress
You can’t perform that action at this time.
0 commit comments