Skip to content

Bugfix Snapshot Release + Bump deprecated github action versions #266

Bugfix Snapshot Release + Bump deprecated github action versions

Bugfix Snapshot Release + Bump deprecated github action versions #266

Workflow file for this run

name: Java CI
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Hadoop winutils (Windows)
if: matrix.os == 'windows-latest'
run: |
mkdir C:\winutils
cd C:\winutils
git init
git remote add origin https://github.com/cdarlint/winutils
git config core.sparseCheckout true
echo "hadoop-3.2.2" > .git\info\sparse-checkout
git pull origin master
echo "HADOOP_HOME=C:\winutils\hadoop-3.2.2" >> $env:GITHUB_ENV
echo "PATH=$env:PATH;$env:HADOOP_HOME\bin" >> $env:GITHUB_ENV
- name: Set up JDK 1.8
uses: actions/setup-java@v4.2.1
with:
java-version: 8
distribution: zulu
- name: Build with Maven
run: |
mvn clean install -DskipTests --no-transfer-progress -DtrimStackTrace=false
- name: Test with Maven
if: matrix.os != 'windows-latest'
run: |
mvn verify --no-transfer-progress -DtrimStackTrace=false
- name: Test with Maven (Windows)
if: matrix.os == 'windows-latest'
run: |
mvn verify -pl !:gradoop-hbase,!:gradoop-accumulo --no-transfer-progress -DtrimStackTrace=false