-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from lschmierer/element_model
- Loading branch information
Showing
908 changed files
with
860,582 additions
and
760,268 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 |
---|---|---|
|
@@ -7,7 +7,6 @@ env: | |
|
||
jobs: | ||
benchmark: | ||
name: benchmark | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Codegen Version | ||
|
||
on: [pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
version_bumped: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
- uses: SebRollen/[email protected] | ||
id: main_version | ||
with: | ||
file: fhirbolt-codegen/Cargo.toml | ||
field: package.version | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: SebRollen/[email protected] | ||
id: this_version | ||
with: | ||
file: fhirbolt-codegen/Cargo.toml | ||
field: package.version | ||
|
||
- name: Check fhirbolt-codegen version updated if generated code changed | ||
run: | | ||
if git diff --quiet HEAD origin/main -- **/generated/ ; then | ||
if [ ${{steps.main_version.outputs.value}} != ${{steps.this_version.outputs.value}} ]; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi | ||
fi | ||
- name: Check generated code has correct version (fhirbolt-codegen was run) | ||
run: | | ||
if grep -q v${{steps.this_version.outputs.value}} fhirbolt-model/src/generated/r4/resource.rs ; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi |
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
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug integration test 'test_serde_json'", | ||
"cargo": { | ||
"args": [ | ||
"test", | ||
"--all-features", | ||
"--no-run", | ||
"--test=test_serde_json", | ||
"--package=tests" | ||
], | ||
"filter": { | ||
"name": "test_serde_json", | ||
"kind": "test" | ||
} | ||
}, | ||
"args": [], | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"name": "Debug integration test 'test_serde_xml'", | ||
"cargo": { | ||
"args": [ | ||
"test", | ||
"--all-features", | ||
"--no-run", | ||
"--test=test_serde_xml", | ||
"--package=tests" | ||
], | ||
"filter": { | ||
"name": "test_serde_xml", | ||
"kind": "test" | ||
} | ||
}, | ||
"args": [], | ||
"cwd": "${workspaceFolder}" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"rust-analyzer.cargo.features": "all", | ||
"rust-analyzer.files.excludeDirs": [ | ||
"fhirbolt-model/src/generated/**", | ||
"fhirbolt-serde/src/model/generated/**" | ||
], | ||
"files.watcherExclude": { | ||
"**/generated/**": true | ||
}, | ||
"debug.allowBreakpointsEverywhere": true | ||
} |
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
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
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
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
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
Oops, something went wrong.