Fix yml error

This commit is contained in:
aya 2025-03-16 16:08:11 +02:00
parent 6eb2cc6c26
commit 1967af7271

View File

@ -3,13 +3,13 @@ name: Repeated Test Suite
on: on:
push: push:
branches: [ "stress_test" ] branches: [ "stress_test" ]
pull_request: schedule:
- cron: '0 2 * * *'
jobs: jobs:
repeated-tests: repeated-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
@ -27,7 +27,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: "1.21" go-version: "1.21"
- name: Clean environment - name: Clean environment
run: go clean -cache run: go clean -cache
@ -41,7 +41,7 @@ jobs:
echo "Iteration $i: measuring memory BEFORE the tests..." echo "Iteration $i: measuring memory BEFORE the tests..."
go run tools/memory_record.go --iteration $i --phase start go run tools/memory_record.go --iteration $i --phase start
echo "Running tests (iteration $i)..." echo "Running tests (iteration $i)..."
go test -v -tags '!stress' ./... go test -v -tags '!stress' ./...
echo "Iteration $i: measuring memory AFTER the tests..." echo "Iteration $i: measuring memory AFTER the tests..."
go run tools/memory_record.go --iteration $i --phase end go run tools/memory_record.go --iteration $i --phase end
done done