Limit integration tests to only run on protected branches.

Because of limitations with CircleCI, we should limit Ghost Inspector
tests to only run on merge commits to our protected branches. This will
allow us to build every commit in CI without exhausting our monthly
allotment of Ghost Inspector test runs. Once that setting has been
enabled in CircleCI ("build every commit") we will not longer have to
worry about what our default branch in the Github repo is.
This commit is contained in:
dandds 2019-12-03 09:27:10 -05:00
parent f3f37d5a1a
commit b1814db50b

View File

@ -293,6 +293,11 @@ workflows:
- integration-tests:
requires:
- docker-build
filters:
branches:
only:
- staging
- master
- deploy-staging:
requires:
- test