Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add md5-sums to CI-tests #695

Closed
asp8200 opened this issue Jul 28, 2022 · 1 comment
Closed

Add md5-sums to CI-tests #695

asp8200 opened this issue Jul 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@asp8200
Copy link
Contributor

asp8200 commented Jul 28, 2022

Description of feature

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

@asp8200 asp8200 added the enhancement New feature or request label Jul 28, 2022
@asp8200 asp8200 self-assigned this Jul 28, 2022
@asp8200
Copy link
Contributor Author

asp8200 commented Jul 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants