-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ignore RedisConnectionError and exclude TypeChecking blocks from coverage #620
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #620 +/- ##
==========================================
- Coverage 81.26% 81.04% -0.22%
==========================================
Files 128 130 +2
Lines 9949 10100 +151
==========================================
+ Hits 8085 8186 +101
- Misses 1864 1914 +50 ☔ View full report in Codecov by Sentry. |
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.
Consider changing xfail
to skipif
since the tests seem to be expected to run in Github actions.
Maybe create a shareable skipif decorator in test_commons
?
I'm not sure how I can decide if the test should be run as settings are not loaded when the file is imported. I think that failed test should raise an error in github action |
But the tests passing would be considered "unexpedly passing" |
I must say that the way |
# Conflicts: # app/core/schemas_core.py # app/modules/cdr/endpoints_cdr.py
No description provided.