Stress Test #8951
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
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@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 | |
with: | |
name: logs | |
path: .logs/**/*.log | |
if-no-files-found: ignore | |
if: ${{ always() }} |