ci: do not run browserstack tests for forked PRs

- They require a secret API key, not available to forks.
This commit is contained in:
Sam Salisbury 2019-07-25 11:35:12 +01:00
parent df7bd8cdb9
commit 289fc6f36b
2 changed files with 10 additions and 0 deletions

6
.circleci/config.yml generated
View file

@ -309,6 +309,9 @@ workflows:
- install-ui-dependencies
- build-go-dev
- test-ui-browserstack:
filters:
branches:
ignore: /pull\/[0-9]+/
requires:
- install-ui-dependencies
- build-go-dev
@ -599,6 +602,9 @@ workflows:
# - install-ui-dependencies
# - build-go-dev
# - test-ui-browserstack:
# filters:
# branches:
# ignore: /pull\\/[0-9]+/
# requires:
# - install-ui-dependencies
# - build-go-dev

View file

@ -17,6 +17,10 @@ jobs:
requires:
- install-ui-dependencies
- build-go-dev
filters:
branches:
# Forked pull requests have CIRCLE_BRANCH set to pull/XXX
ignore: /pull\/[0-9]+/
- test-go:
requires:
- build-go-dev