sarek
sarek copied to clipboard
Add md5-sums to CI-tests
Description of feature
Add md5-sums to CI-tests. Okayed by @maxulysse
The md5-sum of certain output-files, like the following, keep changing between reruns.
test.md.cram
test.md.cram.crai
test.md.metrics
hash_table.cfg
hash_table.cfg.bin
hash_table_stats.txt
The contains something like timestamps or the names of work-directories (which contains "random" hash-strings).
The binaries, which change on reruns, are a bit difficult to test, but for the text-based files we might try and use something like the contains-feature.
For binaries, we might be able to do some custom tests:
https://pytest-workflow.readthedocs.io/en/stable/#writing-custom-tests