From 387bcf086be571afda5970041c178df03ba6717c Mon Sep 17 00:00:00 2001 From: Dustin Schau Date: Tue, 4 Dec 2018 16:30:41 -0600 Subject: [PATCH] fix(ci): actually only run tests on non-docs changes (#10287) Previously, this was mostly working (see https://github.com/gatsbyjs/gatsby/pull/9889 where the unit tests are not run, but the e2e tests are run), but as is evident, the e2e tests are still run. This is because the "merging" of template inclusions doesn't work quite like we'd expect, so need to iron that out. This should iron it out! --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ed8284f6f95f..731f713bc9d93 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,8 +58,12 @@ aliases: - run: yarn jest -w 1 e2e-test-workflow: &e2e-test-workflow - <<: *ignore_master - <<: *ignore_docs + filters: + branches: + ignore: + - master + - /docs.+/ + - /blog.+/ requires: - bootstrap