From f224b529f6feeb8ef3c52eaa97afa8a2bc927ecd Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Wed, 21 Aug 2024 13:06:07 +0500 Subject: [PATCH] ci: trigger liquidation tests with emerynet --- .github/workflows/liquidation-reconstitution.yml | 4 ++-- .github/workflows/liquidation.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/liquidation-reconstitution.yml b/.github/workflows/liquidation-reconstitution.yml index 128fa9c6..f5338aef 100644 --- a/.github/workflows/liquidation-reconstitution.yml +++ b/.github/workflows/liquidation-reconstitution.yml @@ -47,7 +47,7 @@ concurrency: jobs: run-e2e: if: >- - github.event_name != 'pull_request' || github.event_name == 'schedule' || + github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'liquidation-reconstitution-testing') uses: ./.github/workflows/reusable-workflow.yml @@ -56,7 +56,7 @@ jobs: docker compose -f test/e2e/docker-compose-reconstitution.yml \ --profile synpress up --build \ --exit-code-from synpress - is_emerynet_test: ${{ inputs.network == 'emerynet' }} + is_emerynet_test: ${{ inputs.network == 'emerynet' || contains(github.event.pull_request.labels.*.name, 'emerynet') }} user1_mnemonic: ${{ inputs.user1_mnemonic }} user1_address: ${{ inputs.user1_address }} bidder_mnemonic: ${{ inputs.bidder_mnemonic }} diff --git a/.github/workflows/liquidation.yml b/.github/workflows/liquidation.yml index b3162e21..eb364023 100644 --- a/.github/workflows/liquidation.yml +++ b/.github/workflows/liquidation.yml @@ -47,7 +47,7 @@ concurrency: jobs: run-e2e: if: >- - github.event_name != 'pull_request' || github.event_name == 'schedule' || + github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'liquidation-testing') uses: ./.github/workflows/reusable-workflow.yml @@ -56,7 +56,7 @@ jobs: docker compose -f test/e2e/docker-compose-liquidation.yml \ --profile synpress up --build \ --exit-code-from synpress - is_emerynet_test: ${{ inputs.network == 'emerynet' }} + is_emerynet_test: ${{ inputs.network == 'emerynet' || contains(github.event.pull_request.labels.*.name, 'emerynet') }} user1_mnemonic: ${{ inputs.user1_mnemonic }} user1_address: ${{ inputs.user1_address }} bidder_mnemonic: ${{ inputs.bidder_mnemonic }}