Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/amazon_bedrock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,18 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run unit tests
run: hatch run cov-retry -m "not integration"
run: hatch run test:unit

# Do not authenticate on pull requests from forks
- name: AWS authentication
Expand All @@ -76,20 +78,20 @@ jobs:

- name: Run integration tests
if: success() && steps.aws-auth.outcome == 'success'
run: hatch run cov-retry -m "integration"
run: hatch run test:cov-retry -m "integration"

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/amazon_sagemaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,29 +49,31 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/anthropic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,27 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/astra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
Expand All @@ -62,20 +64,20 @@ jobs:
env:
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/azure_ai_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,31 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9'
run: hatch run lint:all
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/chroma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
Expand All @@ -62,20 +64,20 @@ jobs:
run: hatch run chroma run &

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/cohere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,31 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/deepeval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,31 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run lint:all
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9'
run: hatch run lint:all
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run fmt-check && hatch run lint:typing

- name: Run ElasticSearch container
run: docker compose up -d
Expand All @@ -56,20 +58,20 @@ jobs:
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/fastembed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,31 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

# TODO: Once this integration is properly typed, use hatch run test:types
# https://github.com/deepset-ai/haystack-core-integrations/issues/1771
- name: Lint
if: matrix.python-version == '3.9'
run: hatch run lint:all
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run fmt-check && hatch run lint:typing

- name: Generate docs
if: matrix.python-version == '3.9' && runner.os == 'Linux'
run: hatch run docs

- name: Run tests
run: hatch run cov-retry
run: hatch run test:cov-retry

- name: Run unit tests with lowest direct dependencies
run: |
hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
hatch run uv pip install -r requirements_lowest_direct.txt
hatch run test -m "not integration"
hatch run test:unit

- name: Nightly - run unit tests with Haystack main branch
if: github.event_name == 'schedule'
run: |
hatch env prune
hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
hatch run cov-retry -m "not integration"
hatch run test:unit

- name: Send event to Datadog for nightly failures
if: failure() && github.event_name == 'schedule'
Expand Down
Loading
Loading