Skip to content

Merge pull request #574 from TNO/573-examples-rest-api-healthcheck-cu… #242

Merge pull request #574 from TNO/573-examples-rest-api-healthcheck-cu…

Merge pull request #574 from TNO/573-examples-rest-api-healthcheck-cu… #242

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true
MAVEN_CLI_OPTS: --batch-mode --errors --fail-at-end --show-version
jobs:
build:
runs-on: ubuntu-latest
container: maven:3.8.7-eclipse-temurin-17-alpine
steps:
- uses: actions/checkout@v4
- name: Compile test source code with Maven
run: mvn $MAVEN_CLI_OPTS test-compile
- name: Run the Maven verify phase
run: mvn $MAVEN_CLI_OPTS verify