Skip to content

Commit 9e4e077

Browse files
authored
ci: server: fix python installation (#6922)
1 parent 83b72cb commit 9e4e077

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/server.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
git \
5959
cmake \
6060
python3-pip \
61+
python3-venv \
6162
curl \
6263
wget \
6364
language-pack-en \
@@ -100,16 +101,13 @@ jobs:
100101
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON ;
101102
cmake --build . --config ${{ matrix.build_type }} -j $(nproc) --target server
102103
103-
- name: Python setup
104-
id: setup_python
105-
uses: actions/setup-python@v5
106-
with:
107-
python-version: '3.11'
108-
109-
- name: Tests dependencies
110-
id: test_dependencies
104+
- name: Setup python env
105+
id: pipenv
111106
run: |
112-
pip install -r examples/server/tests/requirements.txt
107+
cd examples/server/tests
108+
python3 -m venv venv
109+
source venv/bin/activate
110+
pip install -r requirements.txt
113111
114112
- name: Tests
115113
id: server_integration_tests

0 commit comments

Comments
 (0)