compilestatic for config reading and add scriptPath as predefined var… #231
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: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Install groovy | |
run: sudo apt-get update && sudo apt-get install groovy | |
- name: Build with Gradle | |
run: ./gradlew dist -x test | |
- name: Run Unit Tests | |
run: ./gradlew test | |
- name: Execute Functional Tests | |
run: cd tests && ./run.sh |