-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mark tests requiring network access and add a test workflow that disables network access #88
Conversation
Codecov Report
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 89.47% 96.28% +6.80%
==========================================
Files 14 16 +2
Lines 1378 1399 +21
==========================================
+ Hits 1233 1347 +114
+ Misses 145 52 -93
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
are test fails against dandi-cli the same as recently encountered in dandisets (dandi/dandisets@7ec49de) requiring to wait for it to become "valid"? I even wonder now if such logic should be somehow incorporated into |
@yarikoptic That failure reason only applies to one test (fixed in dandi/dandi-cli@024b93b). Most of the failing tests are likely due to some mismatch in dandischema versions, and the failure is only exacerbated by the fact that trying to show the validation errors fails because dandi-cli's master branch expects version validation errors to be reported in a key that was removed from the API without telling me (addressed in dandi/dandi-cli@45a4215). |
shouldn't we have caught it somehow by integration testing in dandi-api against dandi-cli -- https://github.com/dandi/dandi-api/actions/workflows/cli-integration.yml seems to stay green |
@yarikoptic We don't have any tests that expect Dandiset validation to fail. |
Thank you @jwodder, let's proceed. @TheChymera , set |
thanks, it worked ^^ |
Closes #87.