Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ on:
# The branches below must be a subset of the branches above
branches: [main]
jobs:
test:
build:
runs-on: ubuntu-latest
if: env.GIT_DIFF
steps:
- uses: actions/checkout@v2

Expand All @@ -25,9 +24,11 @@ jobs:

- name: Install modules
run: npm install
if: env.GIT_DIFF

- name: Build and link packages
run: npm run build
if: env.GIT_DIFF

- name: Start Docker local node
run: >-
Expand All @@ -36,9 +37,11 @@ jobs:
docker create -p 1317:1317 -p 8545:8545 --name evmos -t evmosjs-test &&
docker start evmos &&
cd ../../../..
if: env.GIT_DIFF

- name: Wait for Docker to spin up
run: sleep 30
run: sleep 30s

- name: Run tests
run: npm run test
if: env.GIT_DIFF
Loading