Skip to content

Commit

Permalink
enable e2e script
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonShiesty committed Dec 7, 2023
1 parent 4eccb95 commit b146473
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: e2e

on:
pull_request:
push:
branches:
- main

jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: same_content_newer

test:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
test-name: ['transactions'] # ['deposit', 'withdraw', 'erc20']
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'

steps:
- name: Cache git folder
uses: actions/cache@v3
with:
path: ./.git
key: git-folder

- uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Build node
uses: ./.github/actions/node
run: make

- name: Run tests
run: ./sbin/run_e2e_tests.sh ${{ matrix.test-name }}

0 comments on commit b146473

Please sign in to comment.