test
This commit is contained in:
parent
23e8bb4077
commit
faad7d4743
|
|
@ -38,9 +38,15 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
sanitizer: [ADDRESS, UNDEFINED] # THREAD is broken
|
sanitizer: [ADDRESS, UNDEFINED] # THREAD is broken
|
||||||
build_type: [RelWithDebInfo]
|
build_type: [RelWithDebInfo]
|
||||||
|
extra_args: []
|
||||||
include:
|
include:
|
||||||
- build_type: Release
|
- build_type: Release
|
||||||
sanitizer: ""
|
sanitizer: ""
|
||||||
|
extra_args: ""
|
||||||
|
include:
|
||||||
|
- build_type: Release
|
||||||
|
sanitizer: ""
|
||||||
|
extra_args: "LLAMA_ARG_BACKEND_SAMPLING=1"
|
||||||
fail-fast: false # While -DLLAMA_SANITIZE_THREAD=ON is broken
|
fail-fast: false # While -DLLAMA_SANITIZE_THREAD=ON is broken
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -76,6 +82,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r tools/server/tests/requirements.txt
|
pip install -r tools/server/tests/requirements.txt
|
||||||
|
|
||||||
|
- name: Tests
|
||||||
|
id: server_integration_tests
|
||||||
|
if: ${{ !matrix.disabled_on_pr || !github.event.pull_request }}
|
||||||
|
run: |
|
||||||
|
cd tools/server/tests
|
||||||
|
export ${matrix.extra_args}
|
||||||
|
$env:PYTHONIOENCODING = ":replace"
|
||||||
|
pytest -v -x -m "not slow"
|
||||||
|
|
||||||
server-windows:
|
server-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue