Skip to content

Develop#14

Open
loguntsovae wants to merge 27 commits into
mainfrom
develop
Open

Develop#14
loguntsovae wants to merge 27 commits into
mainfrom
develop

Conversation

@loguntsovae

Copy link
Copy Markdown
Owner

Description

Tests

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test improvements

Changes Made

  • List the specific changes made
  • Include any new files added or removed
  • Mention any configuration changes

Testing

  • Tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this manually (if applicable)

Screenshots (if applicable)

Add screenshots to help explain your changes.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Related Issues

Fixes #(issue number)

Additional Notes

Any additional information that reviewers should know.

- 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
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