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.
This commit is contained in:
Tim Abbott
2021-07-30 14:52:10 -07:00
parent 8fdc662b20
commit aa651f75c1

View File

@@ -1,28 +1,22 @@
name: Zulip production suite name: Zulip production suite
on: on:
push: push: {}
paths:
- "**/migrations/**"
- puppet/**
- requirements/**
- scripts/**
- static/**
- tools/**
- zproject/**
- yarn.lock
- .github/workflows/production-suite.yml
pull_request: pull_request:
paths: paths:
- .github/workflows/production-suite.yml
- "**/migrations/**" - "**/migrations/**"
- babel.config.js
- postcss.config.js
- puppet/** - puppet/**
- requirements/** - requirements/**
- scripts/** - scripts/**
- static/** - static/assets/**
- static/third/**
- tools/** - tools/**
- zproject/** - webpack.config.ts
- yarn.lock - yarn.lock
- .github/workflows/production-suite.yml - zproject/**
defaults: defaults:
run: run: