Skip to content

Feature/uv dependency management#15

Merged
lihuacai168 merged 4 commits intomasterfrom
feature/uv-dependency-management
Jun 27, 2025
Merged

Feature/uv dependency management#15
lihuacai168 merged 4 commits intomasterfrom
feature/uv-dependency-management

Conversation

@lihuacai168
Copy link
Owner

No description provided.

- Replace requests with httpx in integration tests to fix dependency issue
- Add Docker Compose environments for test, CI, and production scenarios
- Create docker-compose.test.yml for local development testing
- Create docker-compose.ci.yml for CI/CD pipeline testing
- Update existing docker-compose.yml for production environment testing

Integration Testing Infrastructure:
- Fix test_integration_execute.py httpx import and connection handling
- Add environment-aware test setup that works with Docker Compose
- Implement proper health checks and service dependency management
- Create comprehensive test automation scripts (test-integration.sh, test-local.sh)

CI/CD Improvements:
- Update GitHub Actions workflow to use Docker Compose for integration tests
- Add multi-environment testing (CI and production environments)
- Implement proper Docker resource cleanup and management
- Separate integration tests from unit test phase for better organization

Test Coverage:
- 57 unit tests passing with comprehensive execute API coverage
- 3 integration tests now working properly with Docker Compose
- 8 performance tests with timing and benchmark validation
- Complete workflow testing: upload, execute, status, file management

Documentation:
- Add comprehensive integration testing guide
- Include troubleshooting and best practices documentation
- Provide usage examples for all test environments

This resolves the integration test skipping issue and provides robust
containerized testing environments for both development and CI/CD.
- Fix test server Docker configuration and startup issues
- Reduce retry attempts to 5 for faster failure detection
- Fix shell script integer comparison issues
- Add simplified CI test script for better reliability
- Improve error handling and logging
- Fix flake8 configuration file
- Change CI app to use Dockerfile.pip instead of Dockerfile.ci for proper dependencies
- Add tests and pytest.ini volumes to CI container configuration
- Use 'python -m pytest' instead of direct 'pytest' command in CI script
- Fix shell script integer comparison by using grep -q instead of grep -c
- Add pytest availability check before running tests
- Mount test directories properly in CI Docker Compose
@lihuacai168 lihuacai168 merged commit 07d7b64 into master Jun 27, 2025
21 checks 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.

2 participants