Skip to content

ci: enable snapshot e2e for renovate PRs #15169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ executors:
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands
commands:
setup_windows:
steps:
steps:
- checkout
- run:
# Need to install node and yarn before, as the base windows image doesn't have anything.
Expand Down Expand Up @@ -358,9 +358,16 @@ workflows:
- e2e-cli:
name: e2e-cli-ng-snapshots
snapshots: true
<<: *ignore_pull_requests
requires:
- e2e-cli
pre-steps:
- run:
name: Don't run expensive e2e snapshots tests for forks other than renovate-bot and angular
command: >
if [[ "$CIRCLE_PR_USERNAME" != "renovate-bot" ]] &&
[[ "$CIRCLE_PROJECT_USERNAME" != "angular" || $CIRCLE_BRANCH != "master" ]]; then
circleci step halt
fi
- e2e-cli-node-10:
<<: *ignore_pull_requests
requires:
Expand Down