From aa651f75c14985be93a06369b50127d77f49bbf8 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 30 Jul 2021 14:52:10 -0700 Subject: [PATCH] ci: Adjust when production suite is run. We make a few adjustments: * We now run full CI whenever pushing to master. It's cheap enough that it's worth getting accurate signal. * We now don't run production tests on PRs for changes to JavaScript/CSS in static/ that don't also affect the webpack configuration. * We sort the list of paths that trigger tests. --- .github/workflows/production-suite.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml index 2ef873e155..944c325dfa 100644 --- a/.github/workflows/production-suite.yml +++ b/.github/workflows/production-suite.yml @@ -1,28 +1,22 @@ name: Zulip production suite on: - push: - paths: - - "**/migrations/**" - - puppet/** - - requirements/** - - scripts/** - - static/** - - tools/** - - zproject/** - - yarn.lock - - .github/workflows/production-suite.yml + push: {} pull_request: paths: + - .github/workflows/production-suite.yml - "**/migrations/**" + - babel.config.js + - postcss.config.js - puppet/** - requirements/** - scripts/** - - static/** + - static/assets/** + - static/third/** - tools/** - - zproject/** + - webpack.config.ts - yarn.lock - - .github/workflows/production-suite.yml + - zproject/** defaults: run: