From 67a4b3e58de58ebd68487ffb3acd96e5e0e5ae25 Mon Sep 17 00:00:00 2001 From: Danijel Radakovic <129277218+danijelTxFusion@users.noreply.github.com> Date: Mon, 29 Apr 2024 00:43:47 +0200 Subject: [PATCH] ci(test): trigger tests on push against `master` and `beta` --- .github/workflows/test.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9879334..eada628 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -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