revert original yml files

This commit is contained in:
aya 2024-12-05 11:01:11 +02:00
parent 7ef21b1bfa
commit f16ebbc28a
2 changed files with 15 additions and 14 deletions

View File

@ -8,18 +8,13 @@ on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
workflow_call:
inputs:
node_nwaku:
required: true
type: string
jobs:
test-common:
uses: ./.github/workflows/test_common.yml
secrets: inherit
with:
node1: ${{ inputs.node_nwaku }}
node1: "wakuorg/nwaku:latest"
node2: "wakuorg/nwaku:latest"
additional_nodes: "wakuorg/nwaku:latest,wakuorg/nwaku:latest,wakuorg/nwaku:latest"
caller: "nim"

View File

@ -1,4 +1,3 @@
name: Interop Tests Common
on:
@ -6,8 +5,8 @@ on:
inputs:
node1:
required: true
type: string
description: "Node that usually publishes messages. Used for all tests"
type: string
default: "wakuorg/go-waku:latest"
node2:
required: true
@ -41,13 +40,12 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: waku-org/waku-interop-tests
ref: smoke_tests
- name: Remove unwanted software
uses: ./.github/actions/prune-vm
- uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: 'pip'
@ -55,7 +53,7 @@ jobs:
- name: Run tests
run: |
pytest -m 'smoke' -n 4 --dist loadgroup --reruns 2 --alluredir=allure-result
pytest -n 4 --dist loadgroup --reruns 2 --alluredir=allure-results
- name: Get allure history
if: always()
@ -106,4 +104,12 @@ jobs:
echo EOF
} >> $GITHUB_ENV
- name: Send report to Discord
uses: rjstone/discord-webhook-notify@v1
if: always() && env.CALLER != 'manual'
with:
severity: ${{ job.status == 'success' && 'info' || 'error' }}
username: ${{ github.workflow }}
description: "## Job Result: ${{ job.status }}"
details: ${{ env.JOB_SUMMARY }}
webhookUrl: ${{ secrets.DISCORD_TEST_REPORTS_WH }}