-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-enable validation, updated https://ig.fhir.de/download/validator_c…
…li.jar to newest debug version
- Loading branch information
1 parent
00999af
commit 32bd56f
Showing
1 changed file
with
42 additions
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,48 +47,48 @@ jobs: | |
pwd | ||
ls | ||
- name: DownloadValidator | ||
run: | | ||
mkdir -p ~/.fhir/validators | ||
curl -L -o ~/.fhir/validators/validator_cli.jar https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar | ||
echo "FHIR Validator downloaded." | ||
- name: Validate Resources with FHIR Validator | ||
run: | | ||
java -jar ~/.fhir/validators/validator_cli.jar \ | ||
Resources/fsh-generated/resources \ | ||
-version 4.0 \ | ||
-ig Resources/fsh-generated/resources \ | ||
-ig de.gematik.isik-basismodul \ | ||
-ig de.ihe-d.terminology \ | ||
-advisor-file advisor.json \ | ||
-allow-example-urls true \ | ||
-output-style compact \ | ||
-show-message-ids | ||
# - name: DownloadValidator | ||
# run: | | ||
# mkdir -p ~/.fhir/validators | ||
# curl -L -o ~/.fhir/validators/validator_cli.jar https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar | ||
# echo "FHIR Validator downloaded." | ||
# | ||
# - name: Validate Resources with FHIR Validator | ||
# run: | | ||
# java -jar ~/.fhir/validators/validator_cli.jar \ | ||
# Resources/fsh-generated/resources \ | ||
# -version 4.0 \ | ||
# -ig Resources/fsh-generated/resources \ | ||
# -ig de.gematik.isik-basismodul \ | ||
# -ig de.ihe-d.terminology \ | ||
# -advisor-file advisor.json \ | ||
# -allow-example-urls true \ | ||
# -output-style compact \ | ||
# -show-message-ids | ||
|
||
# Java and .NET are already installed on ubuntu-latest | ||
|
||
# - name: Firely.Terminal (GitHub Actions) | ||
# uses: FirelyTeam/[email protected] | ||
# with: | ||
# PATH_TO_CONFORMANCE_RESOURCES: Resources/fsh-generated/resources/ | ||
# #PATH_TO_EXAMPLES: Examples | ||
# # PATH_TO_QUALITY_CONTROL_RULES: qc/custom | ||
# DOTNET_VALIDATION_ENABLED: false | ||
# JAVA_VALIDATION_ENABLED: true | ||
# OUTPUT_FORMAT: RAW | ||
# JAVA_VALIDATION_OPTIONS: -allow-example-urls true -advisor-file advisor.json -output-style compact -show-message-ids | ||
# SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }} | ||
# SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }} | ||
# SUSHI_ENABLED: true | ||
# SUSHI_OPTIONS: Resources/ | ||
# EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA | ||
# JAVA_VALIDATOR_DOWNLOAD_LOCATION: https://ig.fhir.de/download/validator_cli.jar | ||
# | ||
# - name: Add & Commit | ||
# uses: EndBug/add-and-commit@v9 | ||
# with: | ||
# committer_name: GitHub Actions Bot | ||
# committer_email: [email protected] | ||
# add: 'Resources/fsh-generated/resources/' | ||
# message: auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation) | ||
- name: Firely.Terminal (GitHub Actions) | ||
uses: FirelyTeam/[email protected] | ||
with: | ||
PATH_TO_CONFORMANCE_RESOURCES: Resources/fsh-generated/resources/ | ||
#PATH_TO_EXAMPLES: Examples | ||
# PATH_TO_QUALITY_CONTROL_RULES: qc/custom | ||
DOTNET_VALIDATION_ENABLED: false | ||
JAVA_VALIDATION_ENABLED: true | ||
OUTPUT_FORMAT: RAW | ||
JAVA_VALIDATION_OPTIONS: -allow-example-urls true -advisor-file advisor.json -output-style compact -show-message-ids | ||
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }} | ||
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }} | ||
SUSHI_ENABLED: true | ||
SUSHI_OPTIONS: Resources/ | ||
EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA | ||
JAVA_VALIDATOR_DOWNLOAD_LOCATION: https://ig.fhir.de/download/validator_cli.jar | ||
|
||
- name: Add & Commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
committer_name: GitHub Actions Bot | ||
committer_email: [email protected] | ||
add: 'Resources/fsh-generated/resources/' | ||
message: auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation) |