-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (28 loc) · 943 Bytes
/
maven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
pull_request:
jobs:
build:
if: github.repository == 'nr23730/fhirspark'
services:
hapiserver:
image: hapiproject/hapi:v7.0.0
ports:
- 8080:8080
env:
hapi.fhir.validation.requests_enabled: 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'
- name: Run first query on FHIR server
run: sleep 45 && curl http://localhost:8080/fhir/Patient
- name: Build with Maven
run: mvn -B -Dfhir.test.url="http://localhost:8080/fhir/" package --file pom.xml