mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-11 13:35:22 -05:00
[PR #176] [MERGED] ci: run python tests on pull requests and main #3245
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/reconurge/flowsint/pull/176
Author: @dextmorgn
Created: 6/5/2026
Status: ✅ Merged
Merged: 6/5/2026
Merged by: @dextmorgn
Base:
main← Head:ci/python-tests📝 Commits (7)
07584ebci: run python tests on pull requests and main17e36c9ci: provide AUTH_SECRET required at flowsint_core importa24551eci: provide REDIS_URL, also import-time required by flowsint_core71e3a68fix(core): declare pyyaml dependency22c6908test(core): stop relying on env credentials in no-connection testdc36ef6test(core): factor out env-independent no-connection repo setup612d39etest: provide dummy Neo4j credentials in conftest📊 Changes
7 files changed (+89 additions, -36 deletions)
View changed files
➕
.github/workflows/tests.yml(+37 -0)📝
Makefile(+1 -0)📝
flowsint-core/pyproject.toml(+1 -0)📝
flowsint-core/tests/conftest.py(+6 -0)📝
flowsint-core/tests/core/graph/test_graph_repository.py(+29 -36)📝
flowsint-enrichers/tests/conftest.py(+13 -0)📝
uv.lock(+2 -0)📄 Description
What
New
tests.ymlworkflow: runs the Python test suites on every PR and push tomain.How
One step, one source of truth: CI calls
make test— exactly what runs locally. No duplicated pytest commands to drift out of sync.astral-sh/setup-uvinstalls uv, picks Python from.python-version(3.12), caches onuv.lockDATABASE_URL/REDIS_URL/NEO4J_URI_BOLT— 458 tests pass)Also
make testnow includesflowsint-api— its test suite (6 tests) existed but was never wired into the target.Verification
make testlocally: 44 + 396 + 12 + 6 = 458 passed, exit 0.This PR's checks are the live proof.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.