From b1814db50be192c631e433961db2fe26f8a33a28 Mon Sep 17 00:00:00 2001 From: dandds Date: Tue, 3 Dec 2019 09:27:10 -0500 Subject: [PATCH] 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. --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index af450fad..082ff825 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -293,6 +293,11 @@ workflows: - integration-tests: requires: - docker-build + filters: + branches: + only: + - staging + - master - deploy-staging: requires: - test