Skip to content

Gazelle reports: add a success info if there are no messages #314

Gazelle reports: add a success info if there are no messages

Gazelle reports: add a success info if there are no messages #314

Workflow file for this run

# This workflow will build and test a Java project with Maven
name: Unit tests
on:
workflow_dispatch:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the project
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
# https://github.com/actions/setup-java#usage
with:
java-version: 21
distribution: adopt
cache: maven
- name: Run the tests in Maven
timeout-minutes: 15
# We need a timeout here
env:
MAVEN_OPTS: -Xmx12g
run: mvn --batch-mode --no-transfer-progress --update-snapshots verify
- uses: actions/upload-artifact@v4
if: failure()
with:
name: testresults
path: |
./matchbox-server/target/surefire-reports
./matchbox-engine/target/surefire-reports
retention-days: 2