Skip to content

Commit f61e378

Browse files
committed
Adding Firely validation
1 parent 674eda5 commit f61e378

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Firely Validation
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master, main ]
10+
pull_request:
11+
branches: [ master, main ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
19+
# Validate all resources using Firely Terminal
20+
CI_FHIR_VALIDATION:
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
24+
# Steps represent a sequence of tasks that will be executed as part of the job
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v6
28+
29+
# Install .NET runtime
30+
- name: Setup .NET Core SDK
31+
uses: actions/setup-dotnet@v5
32+
with:
33+
dotnet-version: 8.0.x
34+
35+
# Install Java runtime (only needed if you want to run the offical HL7 Java validator)
36+
- name: Setup Java JDK
37+
uses: actions/setup-java@v5
38+
with:
39+
distribution: 'microsoft'
40+
java-version: '21'
41+
42+
- name: Firely.Terminal (GitHub Actions)
43+
uses: FirelyTeam/firely-terminal-pipeline@v0.7.31
44+
with:
45+
PATH_TO_CONFORMANCE_RESOURCES: StructureDefinition ValueSet CodeSystem
46+
# PATH_TO_EXAMPLES: Examples
47+
#PATH_TO_QUALITY_CONTROL_RULES: unittest
48+
DOTNET_VALIDATION_ENABLED: true
49+
JAVA_VALIDATION_ENABLED: false
50+
#EXPECTED_FAILS: VALIDATION_EXAMPLES_JAVA
51+
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
52+
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
53+
FIRELY_TERMINAL_VERSION: 3.5.0
54+
SUSHI_ENABLED: false
55+
56+
# - name: Add & Commit
57+
# uses: EndBug/add-and-commit@v9
58+
# with:
59+
# add: 'fsh-generated/resources/'

0 commit comments

Comments
 (0)