Add CI pipeline and clean up test suite#45
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mainand every PR: a lint job (ruff, fatal rules only) and a pytest job (matrix on Python 3.9 / 3.11, headless Qt viaQT_QPA_PLATFORM=offscreen).requirement.txtwith a completerequirements.txtplusrequirements-dev.txt(pytest,pytest-qt). The old file referenced asrequirements.txtin CONTRIBUTING didn't exist and was missing several imported deps.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).main.pylives insrc/).Test plan
QT_QPA_PLATFORM=offscreen pytest tests/).🤖 Generated with Claude Code