Skip to content

Commit

Permalink
Merge pull request #164 from f-o-a-m/add-test-github-workflow
Browse files Browse the repository at this point in the history
add workflow to run tests since travis is unreliable
  • Loading branch information
iostat authored Sep 6, 2023
2 parents a911308 + 6d9819a commit 51eae75
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 32 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
2 changes: 1 addition & 1 deletion .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Code style and lint
on:
pull_request:
branches:
- main
- master

workflow_dispatch:

Expand Down
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

0 comments on commit 51eae75

Please sign in to comment.