Skip to content

Add CI pipeline and clean up test suite#45

Merged
hemanthkapa merged 3 commits into
mainfrom
ci/github-actions
Jun 30, 2026
Merged

Add CI pipeline and clean up test suite#45
hemanthkapa merged 3 commits into
mainfrom
ci/github-actions

Conversation

@hemanthkapa

Copy link
Copy Markdown
Member

Summary

  • Add GitHub Actions CI that runs on every push to main and every PR: a lint job (ruff, fatal rules only) and a pytest job (matrix on Python 3.9 / 3.11, headless Qt via QT_QPA_PLATFORM=offscreen).
  • Replace the incomplete requirement.txt with a complete requirements.txt plus requirements-dev.txt (pytest, pytest-qt). The old file referenced as requirements.txt in CONTRIBUTING didn't exist and was missing several imported deps.
  • Review/clean the test suite: removed two stale/no-op tests in test_config_yaml.py, and strengthened the Bug added tomoslice visualization #6 and Bug Add Issue Template #8 regression tests (Bug Add Issue Template #8 previously had zero assertions and always passed).
  • Document test setup in CONTRIBUTING and fix the GUI launch path (main.py lives in src/).

Test plan

  • Full suite passes locally headless (QT_QPA_PLATFORM=offscreen pytest tests/).
  • CI will run the suite against this PR on py3.9 and py3.11.

🤖 Generated with Claude Code

hemanthkapa and others added 3 commits June 30, 2026 11:25
- Add GitHub Actions CI (lint + pytest matrix on py3.9/3.11, headless Qt)
- Replace incomplete requirement.txt with complete requirements.txt +
  requirements-dev.txt (pytest, pytest-qt)
- Remove stale/no-op tests; strengthen Bug6 and Bug8 regression tests
- Document test setup in CONTRIBUTING

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts:
#	CONTRIBUTING.md
#	tests/test_config_yaml.py
#	tests/test_known_bugs.py
@hemanthkapa
hemanthkapa merged commit 210ea3e into main Jun 30, 2026
3 checks passed
@hemanthkapa
hemanthkapa deleted the ci/github-actions branch July 1, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant