-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adds a new github CI Action to generate coverage and upload to coveralls #1373
Adds a new github CI Action to generate coverage and upload to coveralls #1373
Conversation
6be41f1
to
cd18e17
Compare
cd18e17
to
a9d7906
Compare
- name: Build dpnp with coverage | ||
run: | | ||
python scripts/gen_coverage.py --pytest-opts="--ignore tests/test_random.py \ | ||
--ignore tests/test_strides.py" |
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.
Probably it would be good to have a separate variable with a list of ignoring tests.
@@ -1,6 +1,6 @@ | |||
import math | |||
import pytest | |||
from .helper import get_all_dtypes | |||
from .helper import get_all_dtypes, is_cpu_device |
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.
I guess the change is not needed anymore.
Use `sys.executable` instead of `"python"` in `check_output` call
I think this can be merged now, especially given that it is being merged to another branch. |
This PR adds a new script
gen_coverage.py
to build dpnp develop with coverage paraments and generate coverage reports.Also adds
generate_coverage.yaml
to run the build on GitHub Action and upload reports to coveralls.io