Repository navigation
github run pytests: closes #151 - #159
Conversation
|
Looks like it failed: "Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'". |
5a5a4ae to
5f67038
Compare
|
heh, whoops |
|
I'm asking this to run with development pyslim, FYI. I think that's the right thing to do here. |
5f67038 to
dd2641d
Compare
|
So, the tests.yml builds both a Debug and a Release build of SLiM. It's not clear to me which one your tests will run against. How is it finding the |
ad3bfba to
d2b23c0
Compare
| == tsk_individual) | ||
| && (p_tables->nodes.individual[ind->genome2_->tsk_node_id_] | ||
| == tsk_individual)); | ||
|
|
There was a problem hiding this comment.
This bit of code is duplicated above, and there doesn't seem to be the possibility that the node tables are changed between there and here?
There was a problem hiding this comment.
If you're referring to the line above where it does p_tables->nodes.individual[ind->genome1_->tsk_node_id_] = tsk_individual;, that is in a different branch of the if/else statement, isn't it?
There was a problem hiding this comment.
Figured I'd keep the consistency check that's at the end.
There was a problem hiding this comment.
Ah, I see. Yes, the first check seems redundant, I suppose. I can't remember why we did that.
|
Huh, this still fails on macos by not finding gsl when installing msprime, but the exact same coide, AFAICT, works for installing msprime for tskit?!? Edit: hah, never mind - I had the pip and conda files switched. |
d2b23c0 to
c6213c7
Compare
c6213c7 to
099418c
Compare
|
IT WORKS!!!!!!! 🎉 I think this is ready to merge! If you're wondering what all this conda cache stuff is doing, so am I, but I think the answer is that "it's making things work" and we can thank Ben Jeffery for figuring it out. |
|
Wow, that is impressively gross. :-> I guess understanding it isn't really necessary – it's just CI glue. Congrats on slogging through to the finish line! |
Let's see if this works!