I think tests are failing because I'm running them on port 80, so swi… #5
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: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version: '21' | |
cache: 'maven' | |
- name: Build | |
run: mvn --batch-mode -DskipTests package | |
- name: Test | |
run: mvn --batch-mode -Dmaven.test.failure.ignore=true test | |
- name: Report | |
uses: dorny/test-reporter@v1 | |
if: always() | |
with: | |
name: Maven Tests | |
path: target/surefire-reports/*.xml | |
reporter: java-junit | |
fail-on-error: true |