Skip to content

Commit

Permalink
Merge pull request #60 from quantifyearth/mwd-add-more-ci-tests
Browse files Browse the repository at this point in the history
Add some simple success/fail integration tests
  • Loading branch information
mdales authored Jul 10, 2024
2 parents 2c59a0e + fce6ad2 commit ad633bb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/test/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,18 @@ case "$1" in
else
echo "Successfully Failed"
fi


for d in `find specs -name "succeed*.md"`; do
sudo "$GITHUB_WORKSPACE/_build/install/default/bin/shark" md $d --store=rsync:/rsync --rsync-mode=hardlink --verbose
done
for d in `find specs -name "fail*.md"`; do
if sudo "$GITHUB_WORKSPACE/_build/install/default/bin/shark" md $d --store=rsync:/rsync --rsync-mode=hardlink --verbose; then
exit 1
else
echo "Successfully Failed"
fi
done

sudo rm -rf /rsync
;;
*)
Expand Down

0 comments on commit ad633bb

Please sign in to comment.