Develop#14
Open
loguntsovae wants to merge 27 commits into
Open
Conversation
- Add unit tests for all core components (196 tests) - Add integration tests (71 tests, 64 passing) - Add smoke tests for test infrastructure (8 tests) - Remove all Russian comments from codebase - Add test configuration and fixtures Test Results: 268/275 passing (97.5%) Note: Some flake8/mypy errors to be fixed in follow-up commits
- Update main CI workflow with comprehensive test coverage - Add test job with Python 3.11 & 3.12 matrix - Setup PostgreSQL service for integration tests - Run unit, integration, and smoke tests separately - Generate and upload coverage reports to Codecov - Upload HTML coverage artifacts - Add PR coverage comment workflow - Automatic coverage comments on pull requests - Shows coverage changes per PR - Configurable thresholds (90% green, 70% orange) - Add nightly test workflow - Scheduled daily runs at 2 AM UTC - Manual trigger option - Detailed test reports with durations - Auto-create GitHub issue on failure - Configure Codecov - Target: 85% project coverage, 80% patch coverage - Ignore tests, migrations, scripts, docs - Enable PR comments with coverage diffs - Add CI/CD setup documentation - Step-by-step Codecov integration guide - Required secrets configuration - Workflow overview and troubleshooting - Badge URLs for README Workflows: - ci.yml: Main CI/CD pipeline (lint, security, test, build) - pr-coverage.yml: PR coverage comments - nightly.yml: Daily comprehensive test runs
# Conflicts: # examples/client_service/app.py # pyproject.toml # tests/conftest.py # tests/integration/api/test_admin_endpoints.py # tests/integration/api/test_mail_endpoint.py # tests/integration/api/test_usage_endpoint.py # tests/integration/test_auth_flow.py # tests/integration/test_email_flow.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.
Description
Tests
Type of Change
Changes Made
Testing
Screenshots (if applicable)
Add screenshots to help explain your changes.
Checklist
Related Issues
Fixes #(issue number)
Additional Notes
Any additional information that reviewers should know.