Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Release v2.5.0 (#465) #159

Release v2.5.0 (#465)

Release v2.5.0 (#465) #159

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [8, 11]
env:
CLOUDSDK_CORE_DISABLE_USAGE_REPORTING: true
CLOUDSDK_CORE_DISABLE_PROMPTS: true
# for Gradle
TERM: dumb
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: |
~/.m2/repository
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run tests
run: |
./gradlew clean build jacocoTestReport --stacktrace