mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-22 20:40:00 +00:00
update exclude
This commit is contained in:
parent
6f2e5647bf
commit
d0cd6280e6
2 changed files with 7 additions and 7 deletions
|
|
@ -53,6 +53,13 @@ runs:
|
||||||
echo "Test types to run: $TEST_TYPES"
|
echo "Test types to run: $TEST_TYPES"
|
||||||
|
|
||||||
for test_type in $(echo "$TEST_TYPES" | jq -r '.[]'); do
|
for test_type in $(echo "$TEST_TYPES" | jq -r '.[]'); do
|
||||||
|
# if provider is vllm, exclude the following tests: (safety, post_training, tool_runtime)
|
||||||
|
if [ "${{ inputs.provider }}" == "vllm" ]; then
|
||||||
|
if [ "$test_type" == "safety" ] || [ "$test_type" == "post_training" ] || [ "$test_type" == "tool_runtime" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo "=== Running tests for: $test_type ==="
|
echo "=== Running tests for: $test_type ==="
|
||||||
|
|
||||||
if uv run pytest -s -v tests/integration/$test_type --stack-config=${stack_config} \
|
if uv run pytest -s -v tests/integration/$test_type --stack-config=${stack_config} \
|
||||||
|
|
|
||||||
7
.github/workflows/integration-tests.yml
vendored
7
.github/workflows/integration-tests.yml
vendored
|
|
@ -150,13 +150,6 @@ jobs:
|
||||||
provider: ${{ (github.event.schedule == '1 0 * * 0') && fromJSON('["vllm"]') || fromJSON(format('["{0}"]', github.event.inputs.test-provider || 'ollama')) }}
|
provider: ${{ (github.event.schedule == '1 0 * * 0') && fromJSON('["vllm"]') || fromJSON(format('["{0}"]', github.event.inputs.test-provider || 'ollama')) }}
|
||||||
python-version: ["3.12", "3.13"]
|
python-version: ["3.12", "3.13"]
|
||||||
client-version: ${{ (github.event.schedule == '0 0 * * 0' || github.event.inputs.test-all-client-versions == 'true') && fromJSON('["published", "latest"]') || fromJSON('["latest"]') }}
|
client-version: ${{ (github.event.schedule == '0 0 * * 0' || github.event.inputs.test-all-client-versions == 'true') && fromJSON('["published", "latest"]') || fromJSON('["latest"]') }}
|
||||||
exclude: # TODO: look into why these tests are failing and fix them
|
|
||||||
- provider: vllm
|
|
||||||
test-type: safety
|
|
||||||
- provider: vllm
|
|
||||||
test-type: post_training
|
|
||||||
- provider: vllm
|
|
||||||
test-type: tool_runtime
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue