Skip to content

Added new message for GTIN codes and for DocumentEntry.typeCode to ig… #98

Added new message for GTIN codes and for DocumentEntry.typeCode to ig…

Added new message for GTIN codes and for DocumentEntry.typeCode to ig… #98

Workflow file for this run

name: 'Run the validation'
on:
workflow_dispatch: # On manual trigger
push:
branches: [ master, validation ]
pull_request:
branches: [ master ]
jobs:
build:
name: 'Run the validator on resource samples'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
strategy:
fail-fast: false
steps:
- name: 'Checkout the repository'
uses: actions/checkout@v3
- name: 'Install Node and NPM'
uses: actions/setup-node@v3
with:
node-version: 18
- name: 'Install Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: 'Install Jekyll'
run: |
gem install jekyll bundler
jekyll -v
- name: 'Compile the IG from sources'
run: |
npm install -g fsh-sushi
curl -L https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -o publisher.jar
java -jar publisher.jar -ig ig.ini
- name: 'Clone the validator'
run: git clone --branch validation --depth 1 https://github.com/CARA-ch/ch-emed-epr.git
- name: 'Install the JDK'
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: 'Run the validator'
run: |
mvn package --batch-mode --no-transfer-progress --file ./ch-emed-epr/pom.xml
java -jar ./ch-emed-epr/target/validation-runner-jar-with-dependencies.jar