mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-07 16:33:09 +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 * * *'
|
- cron: '0 2 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
endurance:
|
Daily:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -39,12 +39,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Endurance Test
|
- name: Run Endurance Test
|
||||||
run: |
|
run: |
|
||||||
# matches every Test… function *except* TestStress
|
|
||||||
go test -p=1 -v ./waku -count=1 -timeout=360m \
|
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
|
- name: Upload Test Logs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: endurance-logs
|
name: daily-logs
|
||||||
path: testlogs.log
|
path: testlogs.log
|
||||||
|
|||||||
6
.github/workflows/CI_endurance.yml
vendored
6
.github/workflows/CI_endurance.yml
vendored
@ -39,7 +39,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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)
|
- name: Upload Test Logs (Group 1)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@ -89,7 +90,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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)
|
- name: Upload Test Logs (Group 2)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
//go:build !stress
|
//go:build stress
|
||||||
// +build !stress
|
// +build stress
|
||||||
|
|
||||||
package waku
|
package waku
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user