|
| 1 | +# GitHub Actions Status Badges |
| 2 | + |
| 3 | +Add these badges to your README.md: |
| 4 | + |
| 5 | +```markdown |
| 6 | +[](https://github.com/rande/python-simple-ioc/actions/workflows/ci.yml) |
| 7 | +[](https://github.com/rande/python-simple-ioc/actions/workflows/tests.yml) |
| 8 | +[](https://github.com/rande/python-simple-ioc/actions/workflows/test-matrix.yml) |
| 9 | +``` |
| 10 | + |
| 11 | +## Workflow Descriptions |
| 12 | + |
| 13 | +### ci.yml |
| 14 | +- Main CI workflow that runs on every push and PR |
| 15 | +- Runs flake8 linting and the standard test suite |
| 16 | +- Tests against Python 3.9, 3.10, 3.11, and 3.12 |
| 17 | + |
| 18 | +### tests.yml |
| 19 | +- Comprehensive test workflow with separate jobs for: |
| 20 | + - Linting (flake8 and optional mypy) |
| 21 | + - Core tests (without optional dependencies) |
| 22 | + - Tests with individual extras (tornado, flask, etc.) |
| 23 | + - Tests with all extras installed |
| 24 | + - Documentation build |
| 25 | + - Package build and validation |
| 26 | + |
| 27 | +### test-extras.yml |
| 28 | +- Tests optional dependencies combinations |
| 29 | +- Runs weekly to catch dependency compatibility issues |
| 30 | +- Smart error detection that ignores expected ImportErrors |
| 31 | + |
| 32 | +### test-matrix.yml |
| 33 | +- Cross-platform testing (Linux, macOS, Windows) |
| 34 | +- Full Python version matrix |
| 35 | +- Ensures compatibility across different operating systems |
| 36 | + |
| 37 | +### release.yml |
| 38 | +- Triggered on version tags |
| 39 | +- Builds and publishes to PyPI |
| 40 | +- Includes test PyPI publishing for testing |
| 41 | + |
| 42 | +## Required Secrets |
| 43 | + |
| 44 | +To enable package publishing, add these secrets to your GitHub repository: |
| 45 | +- `PYPI_API_TOKEN`: Your PyPI API token for publishing releases |
| 46 | +- `TEST_PYPI_API_TOKEN`: Your Test PyPI API token for testing releases |
0 commit comments