Skip to content

Commit

Permalink
add workflow to run tests since travis is unreliable
Browse files Browse the repository at this point in the history
  • Loading branch information
iostat committed Sep 6, 2023
1 parent a911308 commit d2700ce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run test suite

on:
push:
branches:
- '*'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: run tests
run: |
docker run -d -p 8545:8545 -e ACCOUNTS_TO_CREATE=10 foamspace/cliquebait:v1.9.12
npm install
while ! curl -f http://localhost:8545 >/dev/null 2>/dev/null; do "echo Waiting for Cliquebait to be ready"; sleep 10; done
npm run build
npm run test

0 comments on commit d2700ce

Please sign in to comment.