Skip to content

Commit

Permalink
ci(pr-check): use new dummy file
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Dec 9, 2024
1 parent c59248c commit ae1bb66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/1-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
run: |
for algo in ${FILELIST}; do
IMAGE=$(grep '^image: ' $algo | sed 's/^image: \+//' | tr -d \'\")
docker run -v ./tests/data:/data -v /tmp:/output -e INPUT=dummy.edf -e OUTPUT=out.tsv $IMAGE
echo "running: $IMAGE""
docker run -v ./tests/data:/data -v /tmp:/output -e INPUT=bipolar.edf -e OUTPUT=out.tsv $IMAGE
HEADER_REGEX='^onset duration eventType confidence channels dateTime recordingDuration$'
if ! [[ $(head -n1 /tmp/output/out.tsv) =~ "$HEADER_REGEX" ]]; then
echo "Output does not have the expected header"
Expand Down

0 comments on commit ae1bb66

Please sign in to comment.