Skip to content

Commit

Permalink
re-enable validation, updated https://ig.fhir.de/download/validator_c…
Browse files Browse the repository at this point in the history
…li.jar to newest debug version
  • Loading branch information
patrick-werner committed Jan 9, 2025
1 parent 00999af commit 32bd56f
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 32bd56f

Please sign in to comment.