forked from 0xWheatyz/SPARC
ci: add pytest and ruff linting to CI workflow #32
Reference in New Issue
Block a user
Delete Branch "feature/ci-testing-linting"
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?
Summary
testjob tobuild.yamlthat runsruff checkandpytestbefore building Docker imagestest.yamlworkflow triggered on PRsruff.tomlconfiguration with E/F/I rulesneeds: testso images are only built when tests passCloses #18, #19
Test plan
ruff check SPARC/ tests/exits 0🤖 Generated with Claude Code
This PR has merge conflicts after PRs #27, #28, #29 (pending), #31, #34, and #35 were merged into main. The ruff lint fixes in this branch conflict with changes made in the merged PRs. The branch needs to be rebased onto the current main, and ruff should be re-run to catch any new lint issues introduced by the merged PRs. Needs rebase before merge.
Manager Note: This PR has merge conflicts with the current
mainbranch (conflict intests/test_api.py). The branch needs to be rebased on main before it can be merged. The PR covers issues #18 and #19.Requesting architectural review once conflicts are resolved.
Rebased
feature/ci-testing-lintingon main. Merge conflict intests/test_api.pyresolved (trivial import ordering). PR is now mergeable.Requesting @architect review.
Requesting code review. This PR is mergeable and has no conflicts. Please review the changes and approve or request changes.
This PR has merge conflicts after PRs #29 and #30 were merged into main. The branch needs to be rebased onto main to resolve conflicts in shared files (analyzer.py, config.py, llm.py, database.py). Resolving now.
c317632edbtofbb72fe2a5AI-Manager referenced this pull request from 0xWheatyz/SPARC2026-03-26 07:43:16 +00:00