-
Notifications
You must be signed in to change notification settings - Fork 456
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
test: change way pytest is run in CI #1251
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1251 +/- ##
==========================================
+ Coverage 76.60% 78.80% +2.19%
==========================================
Files 240 240
Lines 4501 4501
Branches 559 559
==========================================
+ Hits 3448 3547 +99
+ Misses 906 804 -102
- Partials 147 150 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Terri Oda <terri@toybox.ca>
Signed-off-by: Terri Oda <terri.oda@intel.com>
Signed-off-by: Terri Oda <terri.oda@intel.com>
Failing in test_helper_script on windows:
|
One test for bash is currently failing. Since disabling a specific parametrized test is a pain, I'm disabling the whole file on windows only until it can be addressed. The tests still run on Linux. Signed-off-by: Terri Oda <terri.oda@intel.com>
I've disabled test_helper_script.py in windows for now; I'll open up an issue to track it if I merge this before we have a fix there. |
Saving a potential commit message:
Switch to using a full pytest gather for the async tests. Several test files are singled out to be run synchronously because they touch NVD and can cause us to get rate limited if they run in parallel. This will ensure that no one needs to add new test files explicitly to CI unless they need to be run synchronously. Several tests are (temporarily) disabled because they are not passing; we'll enable those as they are fixed. |
* fixes: intel#1159 * test: change way pytest is run in CI Switch to using a full pytest gather for the async tests. Several test files are singled out to be run synchronously because they touch NVD and can cause us to get rate limited if they run in parallel. This will ensure that no one needs to add new test files explicitly to CI unless they need to be run synchronously. Several test files are (temporarily) disabled because they are not passing; we'll enable those as they are fixed. Signed-off-by: Terri Oda <terri.oda@intel.com>
fixes: #1159
This switches the way we're running tests so that it does a full pytest gather for the async tests (minus a few files known to cause rate limiting issues). This will run a few tests that were not previously being run, and will help us so that new test files no longer need to be added manually to CI before they will run.