ci: split controller tests into 3 groups
Ideally we'd like: - One group with `spec/controllers/api/**/*_spec.rb` files - One group with everything else But due to the way globbing works (and doesn't allow to say "Files NOT starting with `api`"), this looks like a sensible and future-proof configuration.
This commit is contained in:
parent
4c66d2d206
commit
3304cb3d43
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -55,7 +55,9 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
pattern:
|
||||
- spec/controllers
|
||||
- spec/controllers/*_spec.rb
|
||||
- spec/controllers/[a-l]**/*_spec.rb
|
||||
- spec/controllers/[m-z]**/*_spec.rb
|
||||
- spec/features
|
||||
- spec/helpers spec/lib spec/middlewares
|
||||
- spec/mailers spec/jobs spec/policies
|
||||
|
|
Loading…
Reference in a new issue