forked from kopia/kopia
-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (38 loc) · 996 Bytes
/
stress-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Stress Test
on:
push:
branches: [ master ]
tags:
- v*
pull_request: {}
schedule:
# run every 2 hours
- cron: '12 */2 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
stress-test:
name: Stress Test
if: ${{ github.repository == 'kopia/kopia' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: 'go.mod'
check-latest: true
id: go
- name: Stress Test
run: make stress-test
- name: Upload Logs
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: logs
path: .logs/**/*.log
if-no-files-found: ignore
if: ${{ always() }}