Skip to content

Commit

Permalink
ci(pr-check): fix output path
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Dec 9, 2024
1 parent e5de26f commit 0e492fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/1-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
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
if ! [[ $(head -n1 /tmp/out.tsv) =~ "$HEADER_REGEX" ]]; then
echo "Output does not have the expected header"
exit 1
fi
Expand Down

0 comments on commit 0e492fa

Please sign in to comment.