Fix CI: install from repo root; allow Python 3.11+.
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:47:37 -04:00
parent 12a6e2b6bc
commit 870a423c5b
2 changed files with 7 additions and 6 deletions

View File

@ -33,22 +33,23 @@ jobs:
runs-on: [homelab, self-hosted, linux, python]
container:
image: node:20-bookworm
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v4
- name: Install Python + deps
run: |
set -euo pipefail
apt-get update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3 python3-pip python3-venv
python3 --version
python3 -m venv .ci-venv
.ci-venv/bin/pip install -q -U pip
.ci-venv/bin/pip install -q -e ".[dev]"
.ci-venv/bin/pip install -q -e "./backend[dev]"
- name: Pytest
run: .ci-venv/bin/pytest -q
run: |
set -euo pipefail
.ci-venv/bin/pytest -q backend/tests
secret-scan:
needs: skip-ci-check

View File

@ -2,7 +2,7 @@
name = "talos"
version = "0.1.0"
description = "Self-hosted pentest orchestrator"
requires-python = ">=3.12"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",