-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5db1c2a
commit 3258e66
Showing
18 changed files
with
305 additions
and
199 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 |
---|---|---|
|
@@ -31,7 +31,18 @@ jobs: | |
pip install ".[test]" | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest | ||
python -m pytest --cov-report xml --cov=cumulus_library tests | ||
- name: debug | ||
run: | | ||
ls | ||
pwd | ||
- name: Get Cover | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
lint: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ dev = [ | |
test = [ | ||
"freezegun", | ||
"pytest", | ||
"pytest-cov", | ||
"responses" | ||
] | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
tests/test_data/duckdb_data/expected_export/core/core__count_condition_month.csv
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
cnt,category_code,recordedDate_month,code_display | ||
"cnt","category_code","recordedDate_month","code_display" | ||
15,,, | ||
15,encounter-diagnosis,, | ||
15,"encounter-diagnosis",, |
36 changes: 18 additions & 18 deletions
36
tests/test_data/duckdb_data/expected_export/core/core__count_documentreference_month.csv
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
cnt,type_display,author_month,class_display | ||
"cnt","type_display","author_month","class_display" | ||
50,,, | ||
50,Evaluation + Plan note,, | ||
50,Emergency department note,, | ||
46,,,ambulatory | ||
46,Evaluation + Plan note,,ambulatory | ||
46,Emergency department note,,ambulatory | ||
26,,2018-07-01, | ||
26,Evaluation + Plan note,2018-07-01, | ||
26,Emergency department note,2018-07-01, | ||
24,,2018-07-01,ambulatory | ||
24,,2018-06-01, | ||
24,Evaluation + Plan note,2018-07-01,ambulatory | ||
24,Evaluation + Plan note,2018-06-01, | ||
24,Emergency department note,2018-07-01,ambulatory | ||
24,Emergency department note,2018-06-01, | ||
22,,2018-06-01,ambulatory | ||
22,Evaluation + Plan note,2018-06-01,ambulatory | ||
22,Emergency department note,2018-06-01,ambulatory | ||
50,"Evaluation + Plan note",, | ||
50,"Emergency department note",, | ||
46,,,"ambulatory" | ||
46,"Evaluation + Plan note",,"ambulatory" | ||
46,"Emergency department note",,"ambulatory" | ||
26,,"2018-07-01", | ||
26,"Evaluation + Plan note","2018-07-01", | ||
26,"Emergency department note","2018-07-01", | ||
24,,"2018-07-01","ambulatory" | ||
24,,"2018-06-01", | ||
24,"Evaluation + Plan note","2018-07-01","ambulatory" | ||
24,"Evaluation + Plan note","2018-06-01", | ||
24,"Emergency department note","2018-07-01","ambulatory" | ||
24,"Emergency department note","2018-06-01", | ||
22,,"2018-06-01","ambulatory" | ||
22,"Evaluation + Plan note","2018-06-01","ambulatory" | ||
22,"Emergency department note","2018-06-01","ambulatory" |
16 changes: 8 additions & 8 deletions
16
tests/test_data/duckdb_data/expected_export/core/core__count_encounter_all_types.csv
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
cnt,class_display,type_display,serviceType_display,priority_display | ||
"cnt","class_display","type_display","serviceType_display","priority_display" | ||
50,,,, | ||
50,,,,cumulus__none | ||
50,,,cumulus__none, | ||
50,,,cumulus__none,cumulus__none | ||
46,ambulatory,,, | ||
46,ambulatory,,,cumulus__none | ||
46,ambulatory,,cumulus__none, | ||
46,ambulatory,,cumulus__none,cumulus__none | ||
50,,,,"cumulus__none" | ||
50,,,"cumulus__none", | ||
50,,,"cumulus__none","cumulus__none" | ||
46,"ambulatory",,, | ||
46,"ambulatory",,,"cumulus__none" | ||
46,"ambulatory",,"cumulus__none", | ||
46,"ambulatory",,"cumulus__none","cumulus__none" |
48 changes: 24 additions & 24 deletions
48
tests/test_data/duckdb_data/expected_export/core/core__count_encounter_all_types_month.csv
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
cnt,class_display,type_display,serviceType_display,priority_display,period_start_month | ||
"cnt","class_display","type_display","serviceType_display","priority_display","period_start_month" | ||
50,,,,, | ||
50,,,,cumulus__none, | ||
50,,,cumulus__none,, | ||
50,,,cumulus__none,cumulus__none, | ||
46,ambulatory,,,, | ||
46,ambulatory,,,cumulus__none, | ||
46,ambulatory,,cumulus__none,, | ||
46,ambulatory,,cumulus__none,cumulus__none, | ||
26,,,,,2018-07-01 | ||
26,,,,cumulus__none,2018-07-01 | ||
26,,,cumulus__none,,2018-07-01 | ||
26,,,cumulus__none,cumulus__none,2018-07-01 | ||
24,,,,,2018-06-01 | ||
24,,,,cumulus__none,2018-06-01 | ||
24,,,cumulus__none,,2018-06-01 | ||
24,,,cumulus__none,cumulus__none,2018-06-01 | ||
24,ambulatory,,,,2018-07-01 | ||
24,ambulatory,,,cumulus__none,2018-07-01 | ||
24,ambulatory,,cumulus__none,,2018-07-01 | ||
24,ambulatory,,cumulus__none,cumulus__none,2018-07-01 | ||
22,ambulatory,,,,2018-06-01 | ||
22,ambulatory,,,cumulus__none,2018-06-01 | ||
22,ambulatory,,cumulus__none,,2018-06-01 | ||
22,ambulatory,,cumulus__none,cumulus__none,2018-06-01 | ||
50,,,,"cumulus__none", | ||
50,,,"cumulus__none",, | ||
50,,,"cumulus__none","cumulus__none", | ||
46,"ambulatory",,,, | ||
46,"ambulatory",,,"cumulus__none", | ||
46,"ambulatory",,"cumulus__none",, | ||
46,"ambulatory",,"cumulus__none","cumulus__none", | ||
26,,,,,"2018-07-01" | ||
26,,,,"cumulus__none","2018-07-01" | ||
26,,,"cumulus__none",,"2018-07-01" | ||
26,,,"cumulus__none","cumulus__none","2018-07-01" | ||
24,,,,,"2018-06-01" | ||
24,,,,"cumulus__none","2018-06-01" | ||
24,,,"cumulus__none",,"2018-06-01" | ||
24,,,"cumulus__none","cumulus__none","2018-06-01" | ||
24,"ambulatory",,,,"2018-07-01" | ||
24,"ambulatory",,,"cumulus__none","2018-07-01" | ||
24,"ambulatory",,"cumulus__none",,"2018-07-01" | ||
24,"ambulatory",,"cumulus__none","cumulus__none","2018-07-01" | ||
22,"ambulatory",,,,"2018-06-01" | ||
22,"ambulatory",,,"cumulus__none","2018-06-01" | ||
22,"ambulatory",,"cumulus__none",,"2018-06-01" | ||
22,"ambulatory",,"cumulus__none","cumulus__none","2018-06-01" |
Oops, something went wrong.