tests : clean-up server test, use tests.sh in ci (#26886)

* tests : remove fetch_server_test_models.py

* ci : use tests.sh wrapper of pytest
This commit is contained in:
Georgi Gerganov
2026-08-11 09:07:13 +03:00
committed by GitHub
parent 4801e3c567
commit b3df57286c
5 changed files with 17 additions and 127 deletions
+6 -6
View File
@@ -104,21 +104,21 @@ jobs:
id: server_integration_tests
run: |
cd tools/server/tests
pytest -v -x -m "not slow"
./tests.sh
- name: Slow tests
id: server_integration_tests_slow
if: ${{ github.event.schedule || github.event.inputs.slow_tests == 'true' }}
run: |
cd tools/server/tests
SLOW_TESTS=1 pytest -v -x
SLOW_TESTS=1 ./tests.sh
- name: Tests (Backend sampling)
id: server_integration_tests_backend_sampling
run: |
cd tools/server/tests
export LLAMA_ARG_BACKEND_SAMPLING=1
pytest -v -x -m "not slow"
./tests.sh
- name: Slow tests (Backend sampling)
id: server_integration_tests_slow_backend_sampling
@@ -126,7 +126,7 @@ jobs:
run: |
cd tools/server/tests
export LLAMA_ARG_BACKEND_SAMPLING=1
SLOW_TESTS=1 pytest -v -x
SLOW_TESTS=1 ./tests.sh
windows:
runs-on: windows-2025
@@ -170,7 +170,7 @@ jobs:
run: |
cd tools/server/tests
$env:PYTHONIOENCODING = ":replace"
pytest -v -x -m "not slow"
./tests.sh
- name: Slow tests
id: server_integration_tests_slow
@@ -178,4 +178,4 @@ jobs:
run: |
cd tools/server/tests
$env:SLOW_TESTS = "1"
pytest -v -x
./tests.sh