tskit-dev / tskit

Population-scale genomics
MIT License
151 stars 70 forks source link

Add action that tests against older versions of msprime etc? #1069

Open jeromekelleher opened 3 years ago

jeromekelleher commented 3 years ago

1067 was a good reminder that there are unexpected consequences of changing things and there's actually quite a lot of software out there that needs to stay working when tskit get updated.

So, how about we add a Github action that installs a few versions of some of the main bits of downstream software, and we check that they basically work?

The action would basically be:

pip install .
pip install msprime==0.7.4
msp simulate 10 tmp.trees
tskit info tmp.trees

Doing this for a handful of msprime versions (in a matrix?) would be a good test. We could also do something simular for tsinfer, I guess?

benjeffery commented 3 years ago

Sounds like a good idea.

jeromekelleher commented 3 years ago

No hurry with it - probably good for me to do so I have some idea how GitHub actions work!