Make python-ci verbose; pip install setuptools before editable.
Some checks failed
CI / skip-ci-check (push) Successful in 8s
CI / secret-scan (push) Successful in 7s
CI / python-ci (push) Failing after 8s

This commit is contained in:
ilia 2026-07-12 11:48:32 -04:00
parent 870a423c5b
commit 7fe325be68

View File

@ -1,4 +1,4 @@
# Homelab CI — pytest (safety/profiles) + gitleaks
# Homelab CI — pytest + gitleaks
# Skip: @skipci in branch name or commit message
name: CI
@ -36,20 +36,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python + deps
- name: Install Python + run pytest
run: |
set -euo pipefail
set -euxo pipefail
apt-get update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv python3-dev
python3 --version
python3 -m venv .ci-venv
.ci-venv/bin/pip install -q -U pip
.ci-venv/bin/pip install -q -e "./backend[dev]"
- name: Pytest
run: |
set -euo pipefail
.ci-venv/bin/pytest -q backend/tests
python3 -m pip install --upgrade pip setuptools wheel --break-system-packages
python3 -m pip install -e "./backend[dev]" --break-system-packages
cd backend
python3 -m pytest -q
secret-scan:
needs: skip-ci-check