Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions .github/workflows/masterfhirvalidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Check out IOPS-Validation
uses: actions/checkout@master
with:
repository: NHSDigital/IOPS-Validation
repository: NHSDigital/IOPS-FHIR-Test-Scripts # orignally known as NHSDigital/IOPS-Validation
Comment thread
declankieran marked this conversation as resolved.
path: validation

- name: Check out validation-service-fhir-r4
Expand All @@ -38,26 +38,7 @@ jobs:
repository: NHSDigital/IOPS-FHIR-Validation-Service
ref: main
path: validation-service-fhir-r4

- name: Install Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Upgrade python packaging tools
run: python -m pip install --upgrade pip setuptools wheel

- name: Install poetry and requests
run: pip install poetry requests

- name: Install dependencies
run: poetry install

- name: Set SPEC_VERSION env var
run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true


- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -92,7 +73,7 @@ jobs:
- name: Run FHIR Validator
run:
nohup java -jar validation-service-fhir-r4/target/fhir-validator.jar --terminology.url=https://ontology.nhs.uk/production1/fhir --terminology.authorization.tokenUrl=https://ontology.nhs.uk/authorisation/auth/realms/nhs-digital-terminology/protocol/openid-connect/token --terminology.authorization.clientId=${{ secrets.ONTO_CLIENT_ID }} --terminology.authorization.clientSecret=${{ secrets.ONTO_CLIENT_SECRET }} --aws.validationSupport=false --aws.queueEnabled=false &
sleep 120
sleep 120 #used to allow time for the server to run before starting test

- name: Run Test
run: make -C validation test
Comment thread
declankieran marked this conversation as resolved.
Outdated