set caller input
This commit is contained in:
parent
55ade33052
commit
6fbc2bad13
|
@ -1,4 +1,4 @@
|
|||
name: Go Waku Nightly Interop Tests
|
||||
name: Go Waku Interop Tests
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
|
@ -16,6 +16,4 @@ jobs:
|
|||
with:
|
||||
node1: "harbor.status.im/wakuorg/go-waku:latest"
|
||||
node2: "harbor.status.im/wakuorg/go-waku:latest"
|
||||
|
||||
|
||||
|
||||
caller: "go"
|
||||
|
|
|
@ -34,6 +34,3 @@ jobs:
|
|||
node1: ${{ inputs.node1 }}
|
||||
node2: ${{ inputs.node2 }}
|
||||
additional_nodes: ${{ inputs.additional_nodes }}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: Nim Waku Nightly Interop Tests
|
||||
name: Nim Waku Interop Tests
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
|
@ -16,6 +16,4 @@ jobs:
|
|||
with:
|
||||
node1: "harbor.status.im/wakuorg/nwaku:latest"
|
||||
node2: "harbor.status.im/wakuorg/nwaku:latest"
|
||||
|
||||
|
||||
|
||||
caller: "nim"
|
||||
|
|
|
@ -18,13 +18,17 @@ on:
|
|||
description: "Additional optional nodes used in e2e tests, separated by ,"
|
||||
type: string
|
||||
default: "harbor.status.im/wakuorg/nwaku:latest,harbor.status.im/wakuorg/go-waku:latest,harbor.status.im/wakuorg/nwaku:latest"
|
||||
|
||||
caller:
|
||||
required: false
|
||||
description: "Workflow caller. Used in reporting"
|
||||
type: string
|
||||
|
||||
env:
|
||||
FORCE_COLOR: "1"
|
||||
NODE_1: ${{ inputs.node1 }}
|
||||
NODE_2: ${{ inputs.node2 }}
|
||||
ADDITIONAL_NODES: ${{ inputs.additional_nodes }}
|
||||
CALLER: ${{ inputs.caller || 'manual' }}
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -43,12 +47,6 @@ jobs:
|
|||
|
||||
- run: pip install -r requirements.txt
|
||||
|
||||
- name: Echo names
|
||||
run: |
|
||||
echo "Job name is $GITHUB_JOB"
|
||||
echo "How about1 ${{ github.jobs[github.job].name }}"
|
||||
echo "How about2 ${{ github.job }}"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -n 4 --reruns 1 --alluredir=allure-results
|
||||
|
||||
|
@ -96,7 +94,7 @@ jobs:
|
|||
|
||||
- name: Send report to Discord
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
if: always()
|
||||
if: always() && env.CALLER != 'manual'
|
||||
with:
|
||||
severity: ${{ job.status == 'success' && 'info' || 'error' }}
|
||||
username: ${{ github.workflow }}
|
||||
|
|
Loading…
Reference in New Issue