Repository navigation
MNT: Make sure AppVeyor fails if tests fail - #9773
Conversation
|
So my guess at the problem seems to be wrong. Next up: is |
|
I've just checked, and in |
|
Adding in the |
Upload coverage as part of post processing rather than test script. Also remove duplicated command to visualize test results.
5b15c87 to
0da6aac
Compare
|
Not sure why that's necessary for us here when I've never needed it before on other projects... Then again we're the only one I've used that has a magic script rather than running |
|
No idea either... Appveyor has always seemed a bit mysterious to me. Now all we need to do is fix the actual errors 😛 |
0da6aac to
51e4b85
Compare
|
I have a guess, maybe somehow |
0800c3f to
98e1854
Compare
|
@Kojoley I just finally understood your comment. Yeah, I think that's what's going on. Let's see if the next one fails now that I took that out. |
98e1854 to
9c34260
Compare
|
Ok, that finally took care of it. Now to fix the stupid |
bc0de2c to
84a1c0d
Compare
|
So it looks like the lesson to be learned here is: Don't set |
|
Or unset. |
Kojoley
left a comment
There was a problem hiding this comment.
Oops.
Error: No coverage report found
|
Looks like that's because we do a |
|
Actually idk why we are making a conda build here. It takes about 30% of time and our conda recipe demands some strange versions of packages (like freetype 3.8, which is available only from conda-forge) and requires to pin anaconda-client to 1.6.3. |
|
For anaconda-client, we actually 8 lines later say: So the pinning doesn't do any good. 🙄 So what we're doing is validating an internal conda recipe for building the package--which is a packaging issue, not a matplotlib code one. We're in control of conda-forge/matplotlib-feedstock, so I don't see why we should be maintaining a separate copy here. IMO, we should probably just defer to conda-forge on that and nuke it from our repo. |
|
Other things I now see to clean up, which I'll do once we figure out what we're doing with the conda recipe:
|
|
41661cb to
49577c6
Compare
|
So I also remove installing obvious-ci--it doesn't seem to be needed to get us to build on AppVeyor. This simplified the conda setup significantly, and eliminated the need to worry about install order and other things. I expect this to work now. This shaves about 20 minutes off the AppVeyor runs, so that's good. |
49577c6 to
915a0b8
Compare
QuLogic
left a comment
There was a problem hiding this comment.
I can't comment on it directly, but I guess the note about NumPy 1.8 + Python 2.7 can be removed.
Just defer to the conda-forge recipe, since that's what's really being used. Also stop building conda packages on AppVeyor to save some build time.
We're not using here any more.
915a0b8 to
16512ee
Compare
|
I went ahead and remove the outdated comments. |
|
Looks like it uploading to codecov now, merging. |
|
There seem to be a conflict, please backport manually |
CI: Make sure AppVeyor fails if tests fail
Merge pull request #9773 from dopplershift/fix-appveyor
Need to make sure pytest is the last thing in test_script, so move some
of these commands elsewhere as appropriate. Also remove duplicated
command to visualize test results.
Closes #9719 .