ci: Run the test suite before building release images (v2.7.1)

Add a 'test' stage to the Containerfile (production base image plus pytest)
and build it in the release workflow before the push step, so a failing test
stops the release.

Fix the eight tests that were failing: media validation returns a PIL Image
since v1.5.0, and the migration test needs TESTING to skip production config
checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-03 08:28:08 -07:00
1 parent 43ec7cb8be
commit 6a76ee26af
6 files changed
+48 -19

No files matched your search

+2 -2
View File
@@ -459,5 +459,5 @@ def create_app(config=None):
# Package version (Semantic Versioning 2.0.0)
# See docs/standards/versioning-strategy.md for details
__version__ = "2.7.0"
__version_info__ = (2, 7, 0)
__version__ = "2.7.1"
__version_info__ = (2, 7, 1)