From 04837da92bd88ec8342968bb803ecf68772b6341 Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:48:56 +0700 Subject: [PATCH] CI: Add e2e-test trigger and turn-off fail-fast workflows (#4) --- .github/workflows/e2e_test.yml | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/e2e_test.yml 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 }}