diff --git a/.github/workflows/amazon_bedrock.yml b/.github/workflows/amazon_bedrock.yml index 48a800e53e..433a5bc899 100644 --- a/.github/workflows/amazon_bedrock.yml +++ b/.github/workflows/amazon_bedrock.yml @@ -78,9 +78,16 @@ jobs: if: success() && steps.aws-auth.outcome == 'success' run: hatch run 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" + - 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" diff --git a/.github/workflows/amazon_sagemaker.yml b/.github/workflows/amazon_sagemaker.yml index 85b5000812..09ccbf2b95 100644 --- a/.github/workflows/amazon_sagemaker.yml +++ b/.github/workflows/amazon_sagemaker.yml @@ -60,9 +60,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/astra.yml b/.github/workflows/astra.yml index 4c036e6ed5..c047dcb892 100644 --- a/.github/workflows/astra.yml +++ b/.github/workflows/astra.yml @@ -64,9 +64,16 @@ jobs: ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }} run: hatch run 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" + - 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" diff --git a/.github/workflows/azure_ai_search.yml b/.github/workflows/azure_ai_search.yml index 6dce4d479b..63f336470a 100644 --- a/.github/workflows/azure_ai_search.yml +++ b/.github/workflows/azure_ai_search.yml @@ -58,9 +58,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/chroma.yml b/.github/workflows/chroma.yml index 207d8ab6b1..eb362f47f4 100644 --- a/.github/workflows/chroma.yml +++ b/.github/workflows/chroma.yml @@ -64,9 +64,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/deepeval.yml b/.github/workflows/deepeval.yml index bb266fc5e7..fe6ecf298d 100644 --- a/.github/workflows/deepeval.yml +++ b/.github/workflows/deepeval.yml @@ -73,4 +73,4 @@ jobs: with: title: | Core integrations nightly tests failure: ${{ github.workflow }} - api-key: ${{ secrets.CORE_DATADOG_API_KEY }} + api-key: ${{ secrets.CORE_DATADOG_API_KEY }} \ No newline at end of file diff --git a/.github/workflows/fastembed.yml b/.github/workflows/fastembed.yml index 79eacf794f..dce6ef98f8 100644 --- a/.github/workflows/fastembed.yml +++ b/.github/workflows/fastembed.yml @@ -45,9 +45,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/llama_cpp.yml b/.github/workflows/llama_cpp.yml index 8d1e4fc9d2..e645f77287 100644 --- a/.github/workflows/llama_cpp.yml +++ b/.github/workflows/llama_cpp.yml @@ -61,9 +61,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/meta_llama.yml b/.github/workflows/meta_llama.yml index e8945a960c..7a4a49bed9 100644 --- a/.github/workflows/meta_llama.yml +++ b/.github/workflows/meta_llama.yml @@ -61,9 +61,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/mistral.yml b/.github/workflows/mistral.yml index 78f056c9af..553761bdd9 100644 --- a/.github/workflows/mistral.yml +++ b/.github/workflows/mistral.yml @@ -61,9 +61,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/ollama.yml b/.github/workflows/ollama.yml index 283d2513af..ec24e3def0 100644 --- a/.github/workflows/ollama.yml +++ b/.github/workflows/ollama.yml @@ -95,9 +95,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/openrouter.yml b/.github/workflows/openrouter.yml index 5d3365f6df..46a4b4768f 100644 --- a/.github/workflows/openrouter.yml +++ b/.github/workflows/openrouter.yml @@ -61,9 +61,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/stackit.yml b/.github/workflows/stackit.yml index eb2e2c3257..841b4f892d 100644 --- a/.github/workflows/stackit.yml +++ b/.github/workflows/stackit.yml @@ -61,9 +61,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/weaviate.yml b/.github/workflows/weaviate.yml index d7c12cebb0..5092acb012 100644 --- a/.github/workflows/weaviate.yml +++ b/.github/workflows/weaviate.yml @@ -58,9 +58,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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" diff --git a/.github/workflows/weights_and_biases_weave.yml b/.github/workflows/weights_and_biases_weave.yml index 243935aac5..15c928998c 100644 --- a/.github/workflows/weights_and_biases_weave.yml +++ b/.github/workflows/weights_and_biases_weave.yml @@ -57,9 +57,16 @@ jobs: - name: Run tests run: hatch run 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" + - 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"