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:
russell@unturf.com 2026-02-09 16:11:23 -05:00
parent 9512af6706
commit ed6c9666b2

View file

@ -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: