Skip to content

CYTHON_TRACE must be set when generating coverage#752

Merged
oleksandr-pavlyk merged 4 commits intomasterfrom
restore-cython-coverage
Feb 1, 2022
Merged

CYTHON_TRACE must be set when generating coverage#752
oleksandr-pavlyk merged 4 commits intomasterfrom
restore-cython-coverage

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

@oleksandr-pavlyk oleksandr-pavlyk commented Jan 28, 2022

Setting of this preprocessor variable went missing in the move to
cmake + scikit-build (#746), resulting in coverage not going through Cython
files anymore. This change should restore that, and thus improve the
coverage percentage.

@github-actions
Copy link
Copy Markdown

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jan 28, 2022

Coverage Status

Coverage increased (+2.02%) to 81.576% when pulling 6fab702 on restore-cython-coverage into 148e47e on master.

Setting of this proprocessor variable went missing in the move to
cmake + scikit-build, resulting in coverage not going through Cython
files anymore. This change should restore that, and thus improve the
coverage percentage.
When cython converts .pyx files to cxx it is now provided a working directory
option. This makes sure that generated `__pyx_f` array lists sources relative
to project directory.

When generating coverage, cmake adds a target to copy generated .cxx files to
the location of .pyx file.
@oleksandr-pavlyk oleksandr-pavlyk merged commit 05a5abd into master Feb 1, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the restore-cython-coverage branch February 1, 2022 00:30
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 1, 2022

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants