Skip to content

Commit

Permalink
CI: enabled comparison of lists of outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastientourbier committed Jun 13, 2020
1 parent 3910c26 commit 7b9b7c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ jobs:
mkdir -p /tmp/src/mialsuperresolutiontoolkit/data/test
# Get all files in derivatives except the _*.json interface hash generated by nipype (find) / remove the full path of the derivatives (sed) / sort the files and write it to a text file
sudo find /tmp/src/mialsuperresolutiontoolkit/data/derivatives -path */figures -prune -o -not -name "_*.json" -type f -print | sed s+/tmp/src/mialsuperresolutiontoolkit/data/derivatives/++ | sort > /tmp/src/mialsuperresolutiontoolkit/data/test/outputs.out
# diff /home/circleci/src/mialsuperresolutiontoolkit/.circleci/test_outputs.txt /tmp/src/mialsuperresolutiontoolkit/data/test/outputs.out
# exit $?
diff /home/circleci/src/mialsuperresolutiontoolkit/.circleci/test_outputs.txt /tmp/src/mialsuperresolutiontoolkit/data/test/outputs.out
exit $?
- run:
name: Clean working directory
when: always
Expand Down

0 comments on commit 7b9b7c5

Please sign in to comment.