haystack/.github/workflows/tests_skipper.yml
Stefano Fiorucci c4187eeebe
CI: make only test_preview run when preview e2e tests are changed (#6078)
* make only test_preview workflow run when e2e tests are modified

* revert wrong changes to test_preview

* revert wrong order
2023-10-17 10:06:39 +02:00

28 lines
638 B
YAML

# If you change this name also do it in tests.yml and ci_metrics.yml
name: Tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- "**.py"
- "pyproject.toml"
- "!haystack/preview/**/*.py" # See tests_preview.yml
- "!test/preview/**/*.py" # See tests_preview.yml
- "!e2e/preview/**/*.py" # See e2e_preview.yml
- "!.github/**/*.py"
- "!rest_api/**/*.py"
- "!docs/**/*.py"
jobs:
catch-all:
name: Catch-all check
runs-on: ubuntu-latest
steps:
- name: Skip tests
run: echo "Skipped!"