From e483004d82f2f6215f1f1ac15338d7fca622231d Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 21 Mar 2025 06:30:34 -0700 Subject: [PATCH] add agents --- .github/workflows/integration-tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 5dc51f3e5..cea68e56e 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -25,7 +25,7 @@ jobs: matrix: # Listing tests manually since some of them currently fail # TODO: generate matrix list from tests/integration when fixed - test-type: [inference, datasets, inspect, scoring, post_training, providers] + test-type: [agents, inference, datasets, inspect, scoring, post_training, providers] fail-fast: false # we want to run all tests regardless of failure steps: @@ -100,8 +100,14 @@ jobs: env: INFERENCE_MODEL: "meta-llama/Llama-3.2-3B-Instruct" run: | - uv run pytest -v tests/integration/${{ matrix.test-type }} --stack-config=ollama --text-model="meta-llama/Llama-3.2-3B-Instruct" --embedding-model=all-MiniLM-L6-v2 + uv run pytest -v tests/integration/${{ matrix.test-type }} --stack-config=ollama \ + -k "not(builtin_tool_code or safety_with_image or code_interpreter_for)" \ + --text-model="meta-llama/Llama-3.2-3B-Instruct" \ + --embedding-model=all-MiniLM-L6-v2 - name: Run Integration Tests via http client run: | - uv run pytest -v tests/integration/${{ matrix.test-type }} --stack-config=http://localhost:8321 --text-model="meta-llama/Llama-3.2-3B-Instruct" --embedding-model=all-MiniLM-L6-v2 + uv run pytest -v tests/integration/${{ matrix.test-type }} --stack-config=http://localhost:8321 \ + -k "not(builtin_tool_code or safety_with_image or code_interpreter_for)" \ + --text-model="meta-llama/Llama-3.2-3B-Instruct" \ + --embedding-model=all-MiniLM-L6-v2