4500: Konverterer til PDF #902
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: Maven Test | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest-8-cores | |
permissions: | |
pull-requests: write | |
checks: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Maven | |
uses: actions/cache@preview | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build and test | |
run: mvn verify | |
- name: Integration Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: success() || failure() | |
with: | |
check_name: 'Integration Tests' | |
report_paths: '**/target/failsafe-reports/TEST-*.xml' | |
- name: Unit Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: success() || failure() | |
with: | |
check_name: 'Unit Tests' | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |