Skip to content

Clinic: adds module to add patients #11

Clinic: adds module to add patients

Clinic: adds module to add patients #11

Workflow file for this run

name: Clinic
on:
push:
branches:
- main
tags:
- "**"
paths-ignore:
- "**.md"
pull_request:
branches:
- main
env:
JDK_DISTRIBUTION: temurin
JAVA_VERSION: 17
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 10
services:
hapi-fhir:
image: hapiproject/hapi:latest
env:
server.port: 8090
hapi.fhir.tester.home.server_address: http://localhost:8090/fhir
hapi.fhir.allow_multiple_delete: true
ports:
- 8090:8090
defaults:
run:
working-directory: ./clinic
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
# can't `services.[id].options` because it's a scratch docker image and
# doesn't contain a shell installation.
- name: HAPI FHIR Health Check
run: while ! curl -I "http://localhost:8090"; do sleep 2; done
- name: Run Tests
run: lein test