villebro opened a new pull request #12583: URL: https://github.com/apache/superset/pull/12583
### SUMMARY This is a first attempt at skipping CI tests that are not relevant for a given PR. Here we're leveraging [`continue-on-error`](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error) to check if files relevant to python unit tests have changed, namely - `superset/*.py` - `requirements/*.txt` - `setup.py` - `tests/*.py If any of the afforementioned have changed, a failure exit code is triggered, which subsequent steps listen in on; if the check step returned a failure, the tests run, otherwise they are skipped. Doing it like this makes it possible to chain together several tests - for E2E we can check both Python and Frontend changes, and if either/both have changes, tests are triggered (only skipped if both return 0 return code). ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> ### TEST PLAN <!--- What steps should be taken to verify the changes --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
