ci: Add Python venv for example validation dependencies
Creates a Python virtual environment and installs requests + aiohttp before running validate-examples.sh. This ensures Python SDK examples can be properly linted without requiring host-level package installation.
This commit is contained in:
parent
9512af6706
commit
ed6c9666b2
1 changed files with 4 additions and 0 deletions
|
|
@ -157,6 +157,10 @@ science-validate-examples:
|
|||
needs:
|
||||
- build
|
||||
script:
|
||||
# Set up Python venv with dependencies for example validation
|
||||
- python3 -m venv .venv
|
||||
- source .venv/bin/activate
|
||||
- pip install --quiet requests aiohttp
|
||||
- bash scripts/validate-examples.sh
|
||||
artifacts:
|
||||
reports:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue