Skip to content

Commit

Permalink
Collect teed files as well from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcais committed Nov 22, 2024
1 parent 456e676 commit e24a374
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: distchecklog
path: "**/*tests/*.log"
path: |
**/*tests/*.log
**/*tests/**/tee.*
- name: Distribution tar ball
uses: actions/upload-artifact@v4
Expand Down
9 changes: 6 additions & 3 deletions tests/sam.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
nucmer --maxmatch --sam-long /dev/stdout $D/seed_reads_1.fa $D/seed_reads_0.fa | check_cigar /dev/stdin $D/seed_reads_1.fa $D/seed_reads_0.fa
nucmer --maxmatch --sam-short /dev/stdout $D/seed_fq_genome.fa $D/seed_fq_reads_0.fq | tail -n +3 | sort | tee tee.sam | test_md5 4a3a273f3c543e2f9eaf2edf95a60821
nucmer --sam-long /dev/stdout -l 10 <(echo -e ">101\nggtttatgcgctgttatgtctatggacaaaaaggctacgagaaactgtagccccgttcgctcggacccgcgtcattcgtcggcccagctctacccg") <(echo -e ">21\nggtttatgcgctgttttgtctatggaaaaaaggctacgagaaactgtagccccgttcgctcggtacccgcgtcattcgtcggcccatctctacccg") | tail -n +3 | test_md5 f656b26b59de04e7c94c7c0c0f7e3a0c
# nucmer --maxmatch --sam-long /dev/stdout $D/seed_reads_1.fa $D/seed_reads_0.fa | check_cigar /dev/stdin $D/seed_reads_1.fa $D/seed_reads_0.fa

nucmer --maxmatch --sam-short /dev/stdout $D/seed_fq_genome.fa $D/seed_fq_reads_0.fq | tail -n +3 | sort > tee.sam
test_md5 4a3a273f3c543e2f9eaf2edf95a60821 < tee.sam

# nucmer --sam-long /dev/stdout -l 10 <(echo -e ">101\nggtttatgcgctgttatgtctatggacaaaaaggctacgagaaactgtagccccgttcgctcggacccgcgtcattcgtcggcccagctctacccg") <(echo -e ">21\nggtttatgcgctgttttgtctatggaaaaaaggctacgagaaactgtagccccgttcgctcggtacccgcgtcattcgtcggcccatctctacccg") | tail -n +3 | test_md5 f656b26b59de04e7c94c7c0c0f7e3a0c

0 comments on commit e24a374

Please sign in to comment.