-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1.11 KB
/
diff_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: diff_check
on:
push:
jobs:
concordance-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Check
run: |
EXITCODE=0
for subdir in warden_bam/resources/app_data/internal_source/*; do
if [ "$(basename "$subdir")" = "warden_genome_coverage_bed" ]; then
continue
fi
echo "Checking WARDEN (BAM): $(basename "$subdir")"
result=$(diff -r -q "$subdir" warden_fastq/resources/app_data/internal_source/"$(basename "$subdir")") || true
if [[ -n "$result" ]]; then
echo "$result"
EXITCODE=1
fi
done
for subdir in warden_counts/resources/app_data/internal_source/*; do
echo "Checking WARDEN (counts): $(basename "$subdir")"
result=$(diff -r -q "$subdir" warden_fastq/resources/app_data/internal_source/"$(basename "$subdir")") || true
if [[ -n "$result" ]]; then
echo "$result"
EXITCODE=1
fi
done
exit $EXITCODE