mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-26 16:46:58 +00:00
Add a simple way to skip required tests checks (#4245)
This commit is contained in:
parent
764eaa035f
commit
c3bf62d4b0
24
.github/workflows/tests.yml
vendored
24
.github/workflows/tests.yml
vendored
@ -642,3 +642,27 @@ jobs:
|
|||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
channel: '#haystack'
|
channel: '#haystack'
|
||||||
if: failure() && github.repository_owner == 'deepset-ai' && github.ref == 'refs/heads/main'
|
if: failure() && github.repository_owner == 'deepset-ai' && github.ref == 'refs/heads/main'
|
||||||
|
|
||||||
|
catch-all:
|
||||||
|
name: Catch-all check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# This job will be executed only after all the other tests
|
||||||
|
# are successful.
|
||||||
|
# This way we'll be able to mark only this test as required
|
||||||
|
# and skip it accordingly.
|
||||||
|
needs:
|
||||||
|
- integration-tests-elasticsearch
|
||||||
|
- integration-tests-sql
|
||||||
|
- integration-tests-opensearch
|
||||||
|
- integration-tests-dc
|
||||||
|
- integration-tests-faiss
|
||||||
|
- integration-tests-weaviate
|
||||||
|
- integration-tests-pinecone
|
||||||
|
- integration-tests-milvus
|
||||||
|
- integration-tests-memory
|
||||||
|
- integration-tests-linux
|
||||||
|
- integration-tests-windows
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Finisher
|
||||||
|
run: echo "Finish him!"
|
||||||
|
22
.github/workflows/tests_skipper.yml
vendored
Normal file
22
.github/workflows/tests_skipper.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
- ready_for_review
|
||||||
|
paths-ignore:
|
||||||
|
- "**.py"
|
||||||
|
- "pyproject.toml"
|
||||||
|
- "!.github/**/*.py"
|
||||||
|
- "!rest_api/**/*.py"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
catch-all:
|
||||||
|
name: Catch-all check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Skip tests
|
||||||
|
run: echo "Skipped!"
|
Loading…
x
Reference in New Issue
Block a user