INTERLOK-4206 It doesn't like 1.8 but 8 #1927
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: | |
branches-ignore: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Setup Ubuntu | |
run: | | |
sudo apt-get -y install haveged | |
sudo systemctl enable haveged | |
sudo systemctl restart haveged | |
- name: Gradle Wrapper Cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }} | |
- name: Gradle Dependencies Cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }} | |
${{ runner.os }}-gradle-cache- | |
- name: Gradle Test | |
run: | | |
echo "default.jdbc.storedproc.tests.enabled=false" >> ./interlok-core/build.properties | |
echo "junit.jms.tests.enabled=false" >> ./interlok-core/build.properties | |
./gradlew -Djava.security.egd=file:/dev/./urandom -Dorg.gradle.console=plain --no-daemon -PverboseTests=true check | |
- name: codecov.io | |
uses: codecov/codecov-action@v1 |