diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml new file mode 100644 index 00000000..de1d1c71 --- /dev/null +++ b/.github/workflows/e2e_test.yml @@ -0,0 +1,42 @@ +name: E2E Tests + +on: + workflow_dispatch: + pull_request: + types: + # trigger workflow if PR is opened directly as R4R. + - opened + # trigger workflow if changes are pushed to the branch. + - synchronize + # trigger workflow if PR is marked ready for review. + - ready_for_review + paths-ignore: + - 'docs/**' + - '**.md' + - 'LICENSE' + +permissions: + contents: read + packages: write + +jobs: + # e2e-tests-by runs the actual go test command to trigger the test. + e2e-tests: + strategy: + matrix: + tests: + - "e2e-test-ibc" + - "e2e-test-ibc-timeout" + fail-fast: false + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + repository: dymensionxyz/e2e-tests + - name: Set up Go 1.21 + uses: actions/setup-go@v4 + with: + go-version: "1.21.4" + + - name: E2E Tests + run: make ${{ matrix.tests }}