Apparently, we need to apply the filter logic to both jobs in the workflow.
Right now, we're building everything, and testing master/build branches, which isn't what we (currently) want.
@@ -44,7 +44,12 @@ workflows:
version: 2
build_and_test:
jobs:
- - build
+ - build:
+ filters:
+ branches:
+ only:
+ - /^build\/.+/
+ - /^master$/
- test:
requires:
- build
@@ -53,5 +58,5 @@ workflows:
filters:
branches:
only:
- - /build\/.+/
+ - /^build\/.+/
- /^master$/
