Skip to content

Commit

Permalink
Add e2e ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
ulbqb committed Aug 1, 2023
1 parent 4aa6215 commit 7e80b01
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: E2E Test
# Tests / Code Coverage workflow runs unit tests and uploads a code coverage report
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- main
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Display go version
run: go version
- name: Install relayer and simapp
run: |
cd e2e
sudo make install-relayer
make install-simapp
- name: Test e2e
run: |
cd e2e
make test-e2e

0 comments on commit 7e80b01

Please sign in to comment.