chore: separate interop test workflows for Go and Nim

- common test workflow
- reporting to Discord
This commit is contained in:
Roman 2024-01-17 16:30:45 +08:00
parent ca5853747b
commit 6b936be1c6
3 changed files with 47 additions and 7 deletions

23
.github/workflows/go_waku_daily.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Go Waku Interop Tests
concurrency:
group: Interop-tests
cancel-in-progress: false
on:
schedule:
- cron: '0 3 * * *'
push:
branches:
- chore-custom-test-workflows
workflow_dispatch:
jobs:
call-multi-nim-common:
uses: ./.github/workflows/test_common.yml
with:
node1: "harbor.status.im/wakuorg/go-waku:latest"
node2: "harbor.status.im/wakuorg/go-waku:latest"

20
.github/workflows/nim_waku_daily.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Nim Waku Interop Tests
concurrency:
group: Interop-tests
cancel-in-progress: false
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
call-multi-nim-common:
uses: ./.github/workflows/test_common.yml
with:
node1: "harbor.status.im/wakuorg/nwaku:latest"
node2: "harbor.status.im/wakuorg/nwaku:latest"

View File

@ -1,16 +1,11 @@
name: Interop Tests
name: Interop Tests Common
concurrency:
group: Interop-tests
cancel-in-progress: false
on:
schedule:
- cron: '0 3 * * *'
pull_request:
branches:
- master
workflow_dispatch:
workflow_call:
inputs:
node1:
required: true
@ -88,3 +83,5 @@ jobs:
echo "- **Additonal Nodes**: ${{ env.ADDITIONAL_NODES}}" >> $GITHUB_STEP_SUMMARY
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
echo "Allure report will be available at: https://waku-org.github.io/waku-interop-tests/${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY
curl -H "Content-Type: application/json" -X POST -d '{"username": "${{ github.workflow }}", "content": "${{ GITHUB_STEP_SUMMARY }}"}' ${{ secrets.DISCORD_TEST_REPORTS_WH }}