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

Regression E2E tests #57

Regression E2E tests

Regression E2E tests #57

name: Regression E2E tests
on:
workflow_dispatch:
# secrets:
# E2E_TESTS_PAT:
# required: true
jobs:
e2e-tests:
name: 'Regression E2E tests'
runs-on: ubuntu-latest
steps:
- run: echo 'RUN ID is ${{ github.run_id }} --'
- name: Triggering regression e2e tests in e2e-test repository
env:
E2E_TESTS_PAT: ${{ secrets.E2E_TESTS_PAT }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ env.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 }}\"}}"
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.'