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
1 changed files with 8 additions and 14 deletions

View File

@ -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: