From eab7719b468237347d1061d745de287685cf0d72 Mon Sep 17 00:00:00 2001 From: juan-langa Date: Fri, 23 Aug 2024 16:05:48 +0200 Subject: [PATCH] Trigger workflow - test 2.27 --- .github/workflows/e2e_tests_result.yml | 21 +-------------------- .github/workflows/triggerWorkflow.yml | 2 +- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/e2e_tests_result.yml b/.github/workflows/e2e_tests_result.yml index a5588e1..7e23853 100644 --- a/.github/workflows/e2e_tests_result.yml +++ b/.github/workflows/e2e_tests_result.yml @@ -26,23 +26,4 @@ jobs: core.setFailed('E2E tests failed - Link to tests run https://github.com/OasisDEX/e2e-tests/actions/runs/${{ inputs.tests_run_id }}') - name: Test results passed if: ${{ inputs.tests_result == 'success' }} - run: echo 'CI E2E tests passed' - - - # on-ci-e2e-tests-failure: - # runs-on: ubuntu-latest - # if: ${{ inputs.tests_result == 'failure' }} - # steps: - # - run: echo 'E2E tests passed' - # - name: E2E tests failed - # uses: actions/github-script@v7 - # with: - # script: | - # core.setFailed('E2E tests failed') - # on-ci-e2e-tests-success: - # runs-on: ubuntu-latest - # if: ${{ inputs.tests_result == 'success' }} - # steps: - # - run: echo 'E2E tests passed' - # - run: echo 'See test results in https://github.com/OasisDEX/e2e-tests/actions/runs/${{ inputs.tests_run_id }}' - + run: echo 'CI E2E tests passed' \ No newline at end of file diff --git a/.github/workflows/triggerWorkflow.yml b/.github/workflows/triggerWorkflow.yml index 11b52ac..4e99041 100644 --- a/.github/workflows/triggerWorkflow.yml +++ b/.github/workflows/triggerWorkflow.yml @@ -20,6 +20,6 @@ jobs: -H "Authorization: Bearer ${{ secrets.E2E_TESTS_PAT }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/OasisDEX/e2e-tests/actions/workflows/ci_e2e_tests.yml/dispatches \ - -d "{\"ref\":\"main\", \"inputs\":{\"run_id\":\"${{ github.run_id }}\", \"result\":\"fail\"}}" + -d "{\"ref\":\"main\", \"inputs\":{\"run_id\":\"${{ github.run_id }}\", \"result\":\"pass\"}}" # - run: echo 'See test results in https://github.com/OasisDEX/e2e-tests/actions/workflows/ci_e2e_tests.yml --> Job with RUN_ID ${{ github.run_id }} in the logs.'