Skip to content

Commit

Permalink
CI: Sort expected outputs for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Mar 12, 2024
1 parent 688df7d commit 7d777a3
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 @@ -505,7 +505,8 @@ jobs:
command: |
mkdir -p /tmp/ds005/test
find /tmp/ds005/derivatives -name "*" ! -path "*/figures*" -print | sed s+/tmp/ds005/derivatives/++ | sort > /tmp/ds005/test/outputs.out
diff /tmp/src/smriprep/.circleci/ds005_outputs.txt /tmp/ds005/test/outputs.out
sort /tmp/src/smriprep/.circleci/ds005_outputs.txt > /tmp/ds005/test/expected.out
diff /tmp/ds005/test/{expected,outputs}.out
exit $?
- store_artifacts:
path: /tmp/ds005/derivatives
Expand Down Expand Up @@ -636,7 +637,8 @@ jobs:
command: |
mkdir -p /tmp/ds054/test
find /tmp/ds054/derivatives -path */figures -prune -o -name "*" -print | sed s+/tmp/ds054/derivatives/++ | sort > /tmp/ds054/test/outputs.out
diff /tmp/src/smriprep/.circleci/ds054_outputs.txt /tmp/ds054/test/outputs.out
sort /tmp/src/smriprep/.circleci/ds054_outputs.txt > /tmp/ds054/test/expected.out
diff /tmp/ds054/test/{expected,outputs}.out
exit $?
- run:
name: Clean working directory
Expand Down

0 comments on commit 7d777a3

Please sign in to comment.