Skip to content

Commit

Permalink
CI: Avoid inconsistencies between sort versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Aug 30, 2023
1 parent ba9f97a commit 6a38698
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ jobs:
CHECK_OUTPUTS_FILE="${DATASET}_anat_outputs.txt"
cd /tmp/${DATASET}/derivatives/nibabies && tree -I 'figures|log' -lifa --noreport | sed s+^\./++ | sed '1d' | sort > /tmp/${DATASET}/test/outputs.out
cat /tmp/${DATASET}/test/outputs.out
diff /tmp/src/nibabies/.circleci/${CHECK_OUTPUTS_FILE} /tmp/${DATASET}/test/outputs.out
sort -o /tmp/${DATASET}/test/expected.out /tmp/src/nibabies/.circleci/${CHECK_OUTPUTS_FILE}
diff /tmp/${DATASET}/test/expected.out /tmp/${DATASET}/test/outputs.out
rm -rf /tmp/${DATASET}/test
exit $?
- run:
Expand All @@ -386,7 +387,8 @@ jobs:
CHECK_OUTPUTS_FILE="${DATASET}_full_outputs.txt"
cd /tmp/${DATASET}/derivatives/nibabies && tree -I 'figures|log' -lifa --noreport | sed s+^\./++ | sed '1d' | sort > /tmp/${DATASET}/test/outputs.out
cat /tmp/${DATASET}/test/outputs.out
diff /tmp/src/nibabies/.circleci/${CHECK_OUTPUTS_FILE} /tmp/${DATASET}/test/outputs.out
sort -o /tmp/${DATASET}/test/expected.out /tmp/src/nibabies/.circleci/${CHECK_OUTPUTS_FILE}
diff /tmp/${DATASET}/test/expected.out /tmp/${DATASET}/test/outputs.out
rm -rf /tmp/${DATASET}/test
exit $?
- run:
Expand Down

0 comments on commit 6a38698

Please sign in to comment.