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: schedule:
- cron: '0 4 * * *' - cron: '0 4 * * *'
workflow_dispatch: workflow_dispatch:
workflow_call:
inputs:
node_nwaku:
required: true
type: string
jobs: jobs:
test-common: test-common:
uses: ./.github/workflows/test_common.yml uses: ./.github/workflows/test_common.yml
secrets: inherit secrets: inherit
with: with:
node1: ${{ inputs.node_nwaku }} node1: "wakuorg/nwaku:latest"
node2: "wakuorg/nwaku:latest" node2: "wakuorg/nwaku:latest"
additional_nodes: "wakuorg/nwaku:latest,wakuorg/nwaku:latest,wakuorg/nwaku:latest" additional_nodes: "wakuorg/nwaku:latest,wakuorg/nwaku:latest,wakuorg/nwaku:latest"
caller: "nim" caller: "nim"

View File

@ -1,4 +1,3 @@
name: Interop Tests Common name: Interop Tests Common
on: on:
@ -6,8 +5,8 @@ on:
inputs: inputs:
node1: node1:
required: true required: true
type: string
description: "Node that usually publishes messages. Used for all tests" description: "Node that usually publishes messages. Used for all tests"
type: string
default: "wakuorg/go-waku:latest" default: "wakuorg/go-waku:latest"
node2: node2:
required: true required: true
@ -41,13 +40,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
repository: waku-org/waku-interop-tests - name: Remove unwanted software
ref: smoke_tests uses: ./.github/actions/prune-vm
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.12' python-version: '3.12'
cache: 'pip' cache: 'pip'
@ -55,7 +53,7 @@ jobs:
- name: Run tests - name: Run tests
run: | 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 - name: Get allure history
if: always() if: always()
@ -106,4 +104,12 @@ jobs:
echo EOF echo EOF
} >> $GITHUB_ENV } >> $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 }}