Guest User

Untitled

a guest
Apr 24th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. FOLDER=$1
  2.  
  3. # Check if there were changes in a folder, otherwise skip tests
  4.  
  5. npx cifccigcr "${FOLDER}/**/*" "${CIRCLE_COMPARE_URL}"
  6. if [ $? -eq 0 ]; then
  7. echo $FOLDER folder not changed. skipping tests.
  8. circleci step halt
  9. else
  10. echo $FOLDER folder changed. Running tests.
  11. fi
Add Comment
Please, Sign In to add comment