Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add advisor to suppress Java validator issues #251

Open
wants to merge 23 commits into
base: main-stufe-4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,35 @@ jobs:
- name: Checkout code (Main)
uses: actions/checkout@v4
if: github.event_name != 'pull_request'

- name: Locale init
run: |
echo "LANG=en_US.utf8" >> $GITHUB_ENV
echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV

- name: pwd
run: |
pwd
ls

# Java and .NET are already installed on ubuntu-latest

- name: Firely.Terminal (GitHub Actions)
uses: FirelyTeam/[email protected].5
uses: FirelyTeam/[email protected].7-alpha4
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
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
Expand Down
11 changes: 11 additions & 0 deletions advisor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"suppress" : [
"SD_PATH_SLICING_DEPRECATED",
"TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE@CapabilityStatement.implementationGuide",
"http://hl7.org/fhir/StructureDefinition/DomainResource#dom-6",
"[email protected]",
"[email protected]",
"[email protected]",
"This_element_does_not_match_any_known_slice_"
]
}
Loading