CI: drop python runner label; mirror AtAnyRate install style.
All checks were successful
CI / skip-ci-check (push) Successful in 8s
CI / secret-scan (push) Successful in 8s
CI / python-ci (push) Successful in 20s

This commit is contained in:
ilia 2026-07-12 11:48:58 -04:00
parent 7fe325be68
commit 9eda1507f4

View File

@ -30,22 +30,23 @@ jobs:
python-ci:
needs: skip-ci-check
if: needs.skip-ci-check.outputs.should-skip != '1'
runs-on: [homelab, self-hosted, linux, python]
runs-on: [homelab, self-hosted, linux]
container:
image: node:20-bookworm
steps:
- uses: actions/checkout@v4
- name: Install Python + run pytest
- name: Install Python tooling
run: |
set -euxo pipefail
apt-get update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv python3-dev
python3 --version
python3 -m pip install --upgrade pip setuptools wheel --break-system-packages
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv
python3 -m pip install --upgrade pip --break-system-packages
python3 -m pip install pytest setuptools wheel --break-system-packages
python3 -m pip install -e "./backend[dev]" --break-system-packages
cd backend
python3 -m pytest -q
- name: Pytest
working-directory: backend
run: python3 -m pytest -q
secret-scan:
needs: skip-ci-check