From 1967af7271a1f8831b68adbfdbc5c993e9b54d1a Mon Sep 17 00:00:00 2001 From: aya Date: Sun, 16 Mar 2025 16:08:11 +0200 Subject: [PATCH] Fix yml error --- .github/workflows/endurancce_test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/endurancce_test.yml b/.github/workflows/endurancce_test.yml index 8974a21..917cd11 100644 --- a/.github/workflows/endurancce_test.yml +++ b/.github/workflows/endurancce_test.yml @@ -3,13 +3,13 @@ name: Repeated Test Suite on: push: branches: [ "stress_test" ] - pull_request: + schedule: + - cron: '0 2 * * *' jobs: repeated-tests: runs-on: ubuntu-latest - - steps: + steps: - name: Check out repository uses: actions/checkout@v3 with: @@ -27,7 +27,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.21" + go-version: "1.21" - name: Clean environment run: go clean -cache @@ -41,7 +41,7 @@ jobs: echo "Iteration $i: measuring memory BEFORE the tests..." go run tools/memory_record.go --iteration $i --phase start echo "Running tests (iteration $i)..." - go test -v -tags '!stress' ./... + go test -v -tags '!stress' ./... echo "Iteration $i: measuring memory AFTER the tests..." go run tools/memory_record.go --iteration $i --phase end done