-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: adding cython coverage #43660
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
CI: adding cython coverage #43660
Changes from 5 commits
09e0165
e55bdbf
c5abdb0
861028c
be04471
dab931c
80ee5f8
0ae6715
5839e24
14f1ceb
c502b73
5cc3ea8
0251f15
5dfe3dd
ae9bd98
02d927c
9ef035d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
plugins = Cython.Coverage |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,7 @@ conda list pandas | |
# Make sure any error below is reported as such | ||
|
||
echo "[Build extensions]" | ||
python setup.py build_ext -q -j2 | ||
python setup.py build_ext -q -j2 --with-cython-coverage | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. im pretty sure we dont want this on every build, since it slows things down a lot. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makes sense.. would you know why the build is failing though? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pandas/_libs/algos.c: In function ‘__pyx_fuse_0__pyx_f_6pandas_5_libs_5algos_rank_sorted_1d.isra.0.constprop’: |
||
|
||
echo "[Updating pip]" | ||
python -m pip install --no-deps -U pip wheel setuptools | ||
|
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.
can this go in the coverage section of setup.cfg?
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.
tried that in another repo. it has it be in
.coveragerc
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.
OK, if this file is re-introduced, then probably should move the coverage stuff currently in setup.cfg (which currently includes this Cython.Coverage line)
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.
Are you sure? I just did a test run locally after building using
--with-cython-coverage
and it seemed to work fine.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.
you're right. my bad!
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.
Great can you move to setup.cfg then?