Skip to content

Commit

Permalink
CI: Add e2e-test trigger and turn-off fail-fast workflows (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Feb 26, 2024
1 parent 826a9b7 commit 04837da
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 04837da

Please sign in to comment.