open-vault/.circleci/config/workflows/ci.yml
Sam Salisbury 9915404747 ci: do not run browserstack tests for forked PRs
- They require a secret API key, not available to forks.
2019-07-25 11:35:17 +01:00

30 lines
660 B
YAML

jobs:
- pre-flight-checks
- install-ui-dependencies:
requires:
- pre-flight-checks
- go-mod-download:
requires:
- pre-flight-checks
- build-go-dev:
requires:
- go-mod-download
- test-ui:
requires:
- install-ui-dependencies
- build-go-dev
- test-ui-browserstack:
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
- test-go-race:
requires:
- build-go-dev