• Albert Salim's avatar
    Introduce jest minimal jobs · fc55cc04
    Albert Salim authored
    jest minimal jobs runs jest with --findRelatedTests
    on the files that changed in the merge request
    
    The jobs generally will run before an MR approval, except
    when the MR contains the following changes:
    
      - "{package.json,yarn.lock}"
      - "babel.config.js"
      - "jest.config.{base,integration,unit}.js"
      - "vendor/assets/javascripts/**/*"
      - "{,ee}/app/assets/**/*.graphql"
      - "config/helpers/**/*.js"
    
    The full jest pipeline could also be triggered
    using a MR label pipeline:run-all-jest
    fc55cc04
Analyzing file…
package.json 11.1 KB