Skip to content

Commit

Permalink
test(htsinfer): check md5sums of table, add to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsch3000 committed Sep 6, 2023
1 parent ead4db9 commit ce0aa52
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ jobs:
- name: Run test script
run: bash tests/test_integration_workflow/test.local.sh

- name: Run htsinfer test script
run: bash tests/test_htsinfer_workflow/test.local.sh


integration-singularity-tempflag:
needs:
- snakemake-graphs-format
Expand Down
3 changes: 3 additions & 0 deletions tests/test_htsinfer_workflow/expected_output.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1dc3f566f896b72f8f0ab8b3d60da364 results/samples_htsinfer.tsv
642935539533503952f755dbe280fcbd results/htsinfer_SRR1.json
1632c04cd856a1af0abc964304d8e218 results/htsinfer_SRR2.json
4 changes: 4 additions & 0 deletions tests/test_htsinfer_workflow/test.local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ snakemake \
--notemp \
--keep-incomplete

# Check md5 sum of some output files
#find results/ -type f -name \*\.gz -exec gunzip '{}' \;
#find results/ -type f -name \*\.zip -exec sh -c 'unzip -o {} -d $(dirname {})' \;
md5sum --check "expected_output.md5"

0 comments on commit ce0aa52

Please sign in to comment.