Skip to content

v0.14.0: Test suite, CI pipeline, and translation fixes#81

Merged
dannymcc merged 4 commits intomainfrom
dev
Feb 19, 2026
Merged

v0.14.0: Test suite, CI pipeline, and translation fixes#81
dannymcc merged 4 commits intomainfrom
dev

Conversation

@dannymcc
Copy link
Copy Markdown
Owner

Summary

  • Test suite: 512 tests covering all models, routes, API endpoints, and security utilities
  • CI pipeline: Tests now run automatically before every Docker build — builds only proceed if tests pass
  • Translation fixes: ~125 missing i18n markers added across all 6 vehicle templates so existing translations are actually used

Changelog

New Features

  • Comprehensive test suite with 512 tests across 23 test files
  • pytest infrastructure with fixtures for app, auth, admin, vehicles, fuel logs, expenses
  • Test coverage for all 14 blueprints and 16 models

Bug Fixes

  • Vehicle templates now correctly use translation markers for ~125 strings
  • Translations for vehicle pages will now display in the user's chosen language

CI/CD

  • Added test job to GitHub Actions workflow that runs before Docker build
  • Build-and-push job now depends on test job passing (needs: test)

Test plan

  • All 512 tests pass locally
  • CI pipeline runs tests then builds successfully on GitHub Actions
  • Translation catalogs updated and compiled for all 14 languages

Adds pytest infrastructure and full test coverage for all application
features including models, auth, vehicles, fuel, expenses, trips,
reminders, maintenance, charging, stations, documents, recurring
expenses, dashboard, and API endpoints.
Wrap ~125 bare strings across all 6 vehicle templates in _() translation
markers so existing translations are actually used at runtime.
Adds a test job that runs pytest before the build-and-push job.
The build will only proceed if all tests pass.
@dannymcc dannymcc merged commit e8e2754 into main Feb 19, 2026
1 check passed
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