Installation Testing Environment
This directory contains comprehensive testing infrastructure to ensure reliable installation of the oboyu package across different platforms and environments.
Quick Start
Test with Docker
# Run specific test scenario
docker compose -f docker-compose.test.yml up test-pip-source
# Run all tests
docker compose -f docker-compose.test.yml up
Components
Docker Infrastructure
Dockerfile.test
- Multi-stage testing environmentsdocker-compose.test.yml
- Orchestrates test scenarios
GitHub Actions
.github/workflows/test-installation.yml
- Automated CI/CD testing
Test Suite
tests/test_installation_validation.py
- Pytest-based validation
Documentation
docs/installation-testing.md
- Detailed testing proceduresdocs/installation-troubleshooting.md
- Troubleshooting guide
Test Scenarios
- Clean pip install from source
- pip install from built wheel
- pip editable install
- UV package manager install
- Installation with common packages
- Multi-platform testing (Linux, macOS)
- Multiple Python versions (3.11, 3.12, 3.13)
For Contributors
Before submitting PRs:
# 1. (Optional) Run Docker tests locally
docker compose -f docker-compose.test.yml up test-pip-source
# 2. GitHub Actions will automatically test your PR
For Users
If you encounter installation issues:
# 1. Test import
python -c "import oboyu; print(oboyu.__version__)"
# 2. Check troubleshooting guide
cat docs/installation-troubleshooting.md
# 3. Try clean installation
python -m venv fresh-env
source fresh-env/bin/activate
pip install --upgrade pip
pip install .
Success Metrics
Installation is successful when:
- ✅ Package imports without errors
- ✅ CLI commands work properly
- ✅ All dependencies resolve correctly
- ✅ No conflicts with common packages
- ✅ Works across different platforms