Skip to content

Commit

Permalink
fix: regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret authored and danjjl committed Dec 10, 2024
1 parent 0a07576 commit 8b6d4c3
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 @@ -68,7 +68,7 @@ jobs:
IMAGE=$(grep '^image: ' $algo | sed 's/^image: \+//' | tr -d \'\")
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$'
HEADER_REGEX='onset duration eventType confidence channels dateTime recordingDuration'
head -n1 /tmp/out.tsv
if ! [[ $(head -n1 /tmp/out.tsv) =~ "$HEADER_REGEX" ]]; then
echo "Output does not have the expected header"
Expand Down

0 comments on commit 8b6d4c3

Please sign in to comment.