FHIR core 6.4.4 and documentation #359
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
# 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@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
# 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 | |
- name: Test Summary | |
uses: test-summary/action@v2 | |
with: | |
paths: | | |
matchbox-engine/target/surefire-reports/TEST-*.xml | |
matchbox-server/target/surefire-reports/TEST-*.xml | |
if: always() |