Skip to content

Commit 31ef5d9

Browse files
committed
Merge branch 'master' into 10-target-framework-net70-is-unsupported-upgrade
2 parents 6c9ff5d + f16e698 commit 31ef5d9

20 files changed

+485
-15488
lines changed

.github/workflows/dotnet.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,33 @@ jobs:
5252
name: ${{ matrix.program }}-${{ matrix.os }}-${{ matrix.arch }}-binaries
5353
path: |
5454
Sparked.${{ matrix.program }}-${{ matrix.os }}-${{ matrix.arch }}Output
55+
Test-Dot-Net:
56+
needs:
57+
- Build-Dot-Net
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
- name: Download artifact
62+
uses: actions/download-artifact@v4
63+
with:
64+
name: Csv2FhirMapping-linux-x64-binaries
65+
path: /tmp
66+
- name: Prepare to run
67+
run: chmod +x /tmp/Csv2Fhir
68+
- name: Run converter
69+
run: |
70+
cd Sparked.Csv2FhirMapping/test &&
71+
/tmp/Csv2Fhir Medication ./medication.csv ./output/
72+
- name: Check output
73+
id: git-diff-action
74+
run: echo "changed=$(git status --porcelain=v1 2>/dev/null | wc -l | tr -d '[:space:]')" >> "$GITHUB_OUTPUT"
75+
- if: steps.git-diff-action.outputs.changed != '0'
76+
name: Fail
77+
run: git diff | cat && exit -1
5578
Release:
5679
if: contains(github.ref, 'tags/v')
5780
needs:
58-
- Build-Dot-Net
81+
- Test-Dot-Net
5982
- Build-Python
6083
runs-on: ubuntu-latest
6184
steps:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
*/dist/*
1111
/xls-converter/xls_converter/__pycache__/
1212
/out/
13+
Sparked.Csv2FhirMapping/test/Csv2FhirMapping-linux-arm64-binaries/*
14+
Sparked.Csv2FhirMapping/test/Csv2FhirMapping-linux-arm64.zip

0 commit comments

Comments
 (0)