-
Notifications
You must be signed in to change notification settings - Fork 130
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
Allow extensions block in auspice config & dataset JSONs, add --skip-validation
#865
Conversation
Allows auspice config JSONs to define an "extensions" block which is passed through unchanged to the dataset JSON. This is intended for use by other applications (i.e. not auspice) and, as such, no schema for the block is specified. Tests added & can be run via `cram --shell=/bin/bash tests/functional/export_v2.t` Closes #861
Codecov Report
@@ Coverage Diff @@
## master #865 +/- ##
==========================================
- Coverage 34.31% 34.28% -0.03%
==========================================
Files 41 41
Lines 5937 5942 +5
Branches 1518 1521 +3
==========================================
Hits 2037 2037
- Misses 3818 3823 +5
Partials 82 82
Continue to review full report at Codecov.
|
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.
Looks great, thanks a lot!
Do you think I need to test? End to end test looks great. If it passes, it works.
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.
This looks good, @jameshadfield. Do you want functional tests for an invalid JSON with and with the new --skip-validation
flag to confirm that this functionality works as expected?
7774e6e
to
c014fe6
Compare
An appropriate warning is added to the argument, but this can be useful in certain situations and can result in a large speed-up (it speeds up generation of a large testing dataset from 2m27s to 8s). As discussed in #861
c014fe6
to
29a9357
Compare
Good idea! Added via b0c383b. Will merge once CI passes. |
--skip-validation
See commit messages for further info