mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-02 14:03:10 +00:00
Try to make CI yml run all except stress test jobs
This commit is contained in:
parent
453322161d
commit
cb45c9fd9f
7
.github/workflows/CI.yml
vendored
7
.github/workflows/CI.yml
vendored
@ -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
|
||||
|
||||
6
.github/workflows/CI_endurance.yml
vendored
6
.github/workflows/CI_endurance.yml
vendored
@ -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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//go:build !stress
|
||||
// +build !stress
|
||||
//go:build stress
|
||||
// +build stress
|
||||
|
||||
package waku
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user