Skip to content

Commit 61f5d62

Browse files
committed
.circleci: run latest scenario only if available
1 parent 4006cfc commit 61f5d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
echo 'No alternative test'
3737
fi
3838
- run: |
39-
if [[ -z "${CIRCLE_PULL_REQUEST}" ]]; then
39+
if [[ -z "${CIRCLE_PULL_REQUEST}" ]] && [[ -d 'molecule/latest' ]]; then
4040
molecule test -s latest --destroy never
4141
else
4242
echo 'Not running latest on PR'

0 commit comments

Comments
 (0)