Stress Test #18405
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | |
with: | |
name: logs | |
path: .logs/**/*.log | |
if-no-files-found: ignore | |
if: ${{ always() }} |