mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2026-09-10 21:26:48 +00:00
make test installed the project into whatever PYTHON pointed at, which is the system python3 by default. On Manjaro, Debian and Ubuntu that Python is externally managed, so pip refuses (PEP 668) and not a single suite runs, although AGENTS.md requires make test before every commit. It also stopped at the first failing suite, so one broken linter hid the result of every test behind it. make test now creates .venv on first use and runs ci with --keep-going and that interpreter, so every suite runs and make lists each failed target. The path is fixed to the checkout: an exported VENV, which other tooling sets, would otherwise redirect it. It is absolute because run-e2e.sh changes into app/ before starting Flask. All other targets keep PYTHON ?= python3. Verified with a full make test: actionlint, ruff, yamllint, eslint, hadolint, shellcheck, the lint, security, unit and integration suites, bandit, pip-audit and 107 Cypress tests all pass. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
218 B
218 B