[FSTORE-1638] Make a read-only version of Hopsworks Python API #808
Workflow file for this run
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 | |
on: pull_request | |
jobs: | |
unit_tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Timezone | |
run: sudo timedatectl set-timezone UTC | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "8" | |
distribution: "adopt" | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Test | |
working-directory: ./java | |
run: mvn clean test | |
unit_tests_local_tz: | |
name: Unit Tests (Local TZ) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Timezone | |
run: sudo timedatectl set-timezone Europe/Amsterdam | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "8" | |
distribution: "adopt" | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Test | |
working-directory: ./java | |
run: mvn clean test | |
unit_tests_spark35: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Timezone | |
run: sudo timedatectl set-timezone UTC | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "8" | |
distribution: "adopt" | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Test | |
working-directory: ./java | |
run: mvn clean test -Pspark-3.5 |