Use venv for python on Linux and macOS

This commit is contained in:
ExPikaPaka
2026-06-04 11:52:05 +02:00
parent 99a0dd8556
commit 3be63d4369

View File

@@ -59,8 +59,9 @@ jobs:
- name: Install codegen tools and generate config sources
run: |
pip3 install grpcio-tools
python3 tools/run_codegen.py
python3 -m venv /tmp/codegen_venv
/tmp/codegen_venv/bin/pip install grpcio-tools
/tmp/codegen_venv/bin/python tools/run_codegen.py
if: runner.os != 'Windows'
shell: bash