Open gaurav opened 6 years ago
Another possibility: we could store a Gzipped file of the reasoned ontology and run that in the test suite. Since reasoning is the slowest part of the process, this should run pretty quickly. The one long-running test file we have is around 800kb as a Gzipped RDF/XML file, well under Github's 50MB limit; we might be able to make it smaller by using Turtle or another export format.
There are some PHYX files that take too long to test on Travis. My plan for dealing with those is as follows:
phyx
directory and are automatically and continuously tested using Travis CI. We need to ensure that these files are representative of the different kinds of phyloreferences we have. We should try to keep the time taken to run all these files to within 60 minutes (we're currently at around 30 minutes).phyx_too_slow
directory. There should be a mark (i.e. a test command line option, such aspy.test tests/ -m runslow
) that tests all the slow-running phyloreferences.--no-reasoner
. We should also create a script that tests a particular PHYX file.Our long-term goal is to speed up reasoning so that more files can be included in the Travis run, but this should be good enough for the short-to-medium term (i.e. until after TDWG 2018).