-
Notifications
You must be signed in to change notification settings - Fork 1
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
718 integration test #158
Merged
Merged
718 integration test #158
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
48216b3
Fix imports
AntonZogk 57a65ef
Fix multi args for strata
AntonZogk 3468145
Fix args in ratio of means and hard coded target
AntonZogk b6bc3f6
Add missing args current, revision periods
AntonZogk f19854e
Remove referencename column
AntonZogk 048acc2
Remove convert to str code
AntonZogk a8632c1
Check for empty derived dfs
AntonZogk 97b4f8c
Fix args for run_live_or_frozen call
AntonZogk accdb50
Add missing args for back data
AntonZogk cbd51e2
Add missing arg question_no
AntonZogk 4606ecd
Feat main testing
AntonZogk 4b51932
Fix typo in cp path
AntonZogk 3b9f450
Force install rdsa-utils,boto,raz_client
AntonZogk a55f7f8
Use home directory as working directory for running test main
AntonZogk a53b931
Comment out rdsa,boto,raz
AntonZogk 41d43ad
Insstall rdsa utils, raz
AntonZogk 782c86c
Update pre-commit hook job
AntonZogk 1420237
Install all dependencies
AntonZogk a862c0d
Fix trailing whitespace
AntonZogk ef959b2
Update workflow, permissions and hooks commit hash
AntonZogk 7dbd18d
try short hash
robertswh 61eb385
full hash
robertswh 97bd10c
Update action hash
AntonZogk ca50f29
Use v3.0.0 for hooks
AntonZogk 1e450c3
Use hash for hook action
AntonZogk c90e079
Run hooks
AntonZogk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
2 changes: 2 additions & 0 deletions
2
tests/data/test_main/input/test_cell_no_calibration_group_mapping.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cell_no,calibration_group | ||
999,9999 |
2 changes: 2 additions & 0 deletions
2
tests/data/test_main/input/test_classification_question_number_l_value_mapping.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
classification,question_no,l_value | ||
99999,40,9999999 |
2 changes: 2 additions & 0 deletions
2
tests/data/test_main/input/test_classification_sic_mapping.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
classification,sic_5_digit | ||
99999,999 |
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,2 @@ | ||
period,reference,form_type,sic92,error_mkr,response_type | ||
202112,1,ZZZ,45310,O,1 |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
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 @@ | ||
1::999:999:999:999: 999: 999: 999: 999: 999.99: 999: 999: 999:999:999:ZZZ :ZZZ :ZZZ : 999: 999: 999:999:ZZZ:ZZZ:01/01/1900 :ZZZ ZZ : : :ZZZ ZZ : : :99 ZZZ ZZ :ZZZ :ZZZ ZZZ : : :ZZ9 9ZZ :ZZ ZZZ ZZZ : : :ZZZ ZZZ :9999 :9999 :Z: : 999:9999:* :Z |
1 change: 1 addition & 0 deletions
1
tests/data/test_main/input/test_form_domain_threshold_mapping.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
form,domain,threshold,IDBR_form |
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,2 @@ | ||
period,reference,questioncode,adjustedresponse | ||
202204,1,40,888 |
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,2 @@ | ||
period,reference,question_no,returned_value,adjusted_value,instance | ||
202112,1,40,999,999,999 |
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 @@ | ||
sic_5_digit,domain |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this fails when forcing installation of rdsa-utils, the reason is because gssapi package is missing from the system (pythongssapi/requests-gssapi#14), so ubuntu-20.04 which hooks used to run on doesn't have gssapi so couldn't install rdsa utils.
Updated the hooks workflow with something more reproducible which doesn't require to install the package in dev mode anymore. We actually test building the package in 4 versions of CDP so not needed.