ci(test): trigger tests on push against master
and beta
#1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Java SDK library | |
on: | |
push: | |
branches: [ master, beta ] | |
pull_request: | |
branches: [ master, beta ] | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
test: | |
name: Test java project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Run local-setup | |
run: | | |
git clone https://github.com/matter-labs/local-setup.git | |
pushd local-setup | |
./start.sh | |
popd | |
- name: Test with Gradle | |
run: gradle clean test |