Skip to content

Commit

Permalink
Don't run e2e tests for fork PRs (runatlantis#1530)
Browse files Browse the repository at this point in the history
- These require the CircleCI context which fork PRs don't have access to.
- Also skip tests on PRs with branchname "docs/blah"
  • Loading branch information
lkysow authored Apr 24, 2021
1 parent 9a2153b commit 5ba9707
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,16 @@ workflows:
- test:
filters:
branches:
ignore: /.*-docs/
ignore: /docs\/./
- e2e:
context:
- atlantis-e2e-tests
requires: [test]
filters:
branches:
ignore: /.*-docs/
# Ignore fork PRs since they don't have access to
# the atlantis-e2e-tests context (and also doc PRs).
ignore: /(pull\/\d+)|(docs\/.*)/
- docker_master:
context:
- docker-push
Expand Down

0 comments on commit 5ba9707

Please sign in to comment.