Try to make CI yml run all except stress test jobs

This commit is contained in:
aya 2025-05-18 23:06:44 +03:00
parent 453322161d
commit cb45c9fd9f
3 changed files with 9 additions and 8 deletions

View File

@ -6,7 +6,7 @@ on:
- cron: '0 2 * * *'
jobs:
endurance:
Daily:
runs-on: ubuntu-latest
steps:
@ -39,12 +39,11 @@ jobs:
- name: Run Endurance Test
run: |
# matches every Test… function *except* TestStress
go test -p=1 -v ./waku -count=1 -timeout=360m \
-run '^Test($|[^S]|S[^t])' | tee testlogs.log
| tee testlogs.log
- name: Upload Test Logs
uses: actions/upload-artifact@v4
with:
name: endurance-logs
name: daily-logs
path: testlogs.log

View File

@ -39,7 +39,8 @@ jobs:
shell: bash
run: |
set -euo pipefail
go test -p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressMemoryUsageForThreeNodes|TestStressStoreQuery5kMessagesWithPagination|TestStressHighThroughput10kPublish|TestStressLargePayloadEphemeralMessagesEndurance|TestStressConnectDisconnect1kIteration)$' | tee testlogs1.log
go test -tags stress \
-p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressMemoryUsageForThreeNodes|TestStressStoreQuery5kMessagesWithPagination|TestStressHighThroughput10kPublish|TestStressLargePayloadEphemeralMessagesEndurance|TestStressConnectDisconnect1kIteration)$' | tee testlogs1.log
- name: Upload Test Logs (Group 1)
uses: actions/upload-artifact@v4
@ -89,7 +90,8 @@ jobs:
shell: bash
run: |
set -euo pipefail
go test -p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressRandomNodesInMesh|TestStress2Nodes2kIterationTearDown|TestPeerExchangePXLoad)$' | tee testlogs2.log
go test -tags stress \
-p=1 -v ./waku -count=1 -timeout=360m -run '^(TestStressRandomNodesInMesh|TestStress2Nodes2kIterationTearDown|TestPeerExchangePXLoad)$' | tee testlogs2.log
- name: Upload Test Logs (Group 2)
uses: actions/upload-artifact@v4

View File

@ -1,5 +1,5 @@
//go:build !stress
// +build !stress
//go:build stress
// +build stress
package waku