Skip to content

Commit

Permalink
#2013: Improve CircleCI change detection
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Mar 5, 2020
1 parent 523d3b9 commit 5d15547
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Expand Up @@ -18,6 +18,8 @@ jobs:
if [[ $COMMIT_RANGE != *"..."* ]]; then
COMMIT_RANGE="${COMMIT_RANGE}...${COMMIT_RANGE}"
fi
# Print some helpful things
echo $COMMIT_RANGE
# Check if we need to run tests and bail if we dont
LANDO_CHANGED_FILES=$(git diff --name-only $COMMIT_RANGE | cat)
LANDO_NEEDS_TESTS=$(echo $LANDO_CHANGED_FILES | grep -e bin/ -e lib/ -e plugins/ -e examples/ -e tests/ &>/dev/null && echo true || echo false)
Expand Down

0 comments on commit 5d15547

Please sign in to comment.