sarek icon indicating copy to clipboard operation
sarek copied to clipboard

Add md5-sums to CI-tests

Open asp8200 opened this issue 3 years ago • 1 comments

Description of feature

Add md5-sums to CI-tests. Okayed by @maxulysse

asp8200 avatar Jul 28 '22 10:07 asp8200

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

asp8200 avatar Jul 29 '22 13:07 asp8200