Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Trigger workflow - test 2.27
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-langa committed Aug 23, 2024
1 parent 49e504a commit eab7719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/e2e_tests_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion .github/workflows/triggerWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.'

0 comments on commit eab7719

Please sign in to comment.