CI: install into a venv (runner Python is PEP 668 managed)
CI / test (push) Successful in 17s
CI / build-push (push) Failing after 3s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 17:57:34 -04:00
parent dfbc77160e
commit 0d7e61f65f
+6 -3
View File
@@ -21,9 +21,12 @@ jobs:
- uses: actions/checkout@v4
- name: Install + run tests
run: |
python3 -m pip install --quiet --upgrade pip
python3 -m pip install --quiet -r requirements.txt pytest
python3 -m pytest -q
# Runner image's system Python is PEP 668 externally-managed, so use a venv.
python3 -m venv .venv
. .venv/bin/activate
pip install --quiet --upgrade pip
pip install --quiet -r requirements.txt pytest
pytest -q
build-push:
needs: test