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
This commit is contained in:
Stefano Fiorucci 2023-10-17 10:06:39 +02:00 committed by GitHub
parent 2326f2f9fe
commit c4187eeebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ on:
- "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"

View File

@ -10,9 +10,10 @@ on:
- ready_for_review
paths-ignore:
- "**.py"
- "pyproject.toml"
- "!haystack/preview/**/*.py" # See tests_preview.yml
- "!test/preview/**/*.py" # See tests_preview.yml
- "pyproject.toml"
- "!e2e/preview/**/*.py" # See e2e_preview.yml
- "!.github/**/*.py"
- "!rest_api/**/*.py"
- "!docs/**/*.py"