Skip to content

Commit

Permalink
trigger e2e-tests every commit to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed May 28, 2024
1 parent ccb1eb8 commit 9af4fea
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 20 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
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:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and export
uses: docker/build-push-action@v5
with:
file: Dockerfile
context: .
outputs: type=docker,dest=/tmp/e2e.tar
platforms: linux/amd64
tags: |
ghcr.io/dymensionxyz/go-relayer:e2e
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: e2e
path: /tmp/e2e.tar
e2e-tests:
needs: build-image
uses: dymensionxyz/e2e-tests/.github/workflows/e2e-test-workflow-call.yml@main
with:
relayer_ci: "e2e"
20 changes: 0 additions & 20 deletions .github/workflows/strangelove-project-management.yaml

This file was deleted.

0 comments on commit 9af4fea

Please sign in to comment.