Skip to content

Endurance Test

Endurance Test #1892

name: Endurance Test
on:
push:
branches: [ master ]
tags:
- v*
schedule:
# run every 2 hours
- cron: '12 */2 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
endurance-test:
env:
KOPIA_KEEP_LOGS: true
name: Endurance Test
if: ${{ github.repository == 'kopia/kopia' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
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: Endurance Tests
run: make endurance-tests
- name: Upload Logs
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: logs
path: .logs/**/*.log
if-no-files-found: ignore
if: ${{ always() }}