Skip to content

Commit

Permalink
ci(test): trigger tests on push against master and beta
Browse files Browse the repository at this point in the history
  • Loading branch information
danijelTxFusion authored Apr 28, 2024
1 parent 80d6dbf commit 67a4b3e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Test Java SDK library

on:
pull_request:
branches:
- master
push:
branches:
- develop

branches: [ master, beta ]
pull_request:
branches: [ master, beta ]
types: [ opened, reopened, synchronize ]

jobs:
test:
name: Test java project
Expand All @@ -22,10 +21,7 @@ jobs:
run: |
git clone https://github.com/matter-labs/local-setup.git
pushd local-setup
docker-compose up -d
./start.sh
popd
- name: Wait until server is up
run: |
while ! curl -s -X POST -d '{"jsonrpc":"2.0","method":"net_version","id":1}' -H 'Content-Type: application/json' 0.0.0.0:3050; do sleep 1; done
- name: Test with Gradle
run: gradle clean test

0 comments on commit 67a4b3e

Please sign in to comment.