CI/CD Pipelines¶
Workflows¶
| Workflow | Trigger | Description |
|---|---|---|
ci.yml |
Push to main, PR | Full test suite with coverage + Codecov upload |
lint.yml |
Push, PR | ruff + mypy + black check |
pages.yml |
Push to main | Build & deploy MkDocs to GitHub Pages |
release.yml |
Tag v* |
Build artifacts + sigstore signing + GitHub Release |
CI Workflow Details¶
The ci.yml workflow runs on:
- Python: 3.10, 3.11, 3.12
- OS: ubuntu-latest, macos-latest, windows-latest
Steps:
1. Checkout repository
2. Install Python + dependencies
3. Run ruff check
4. Run mypy
5. Run pytest --cov
6. Upload coverage to Codecov
7. Run verification in non-interactive mode
Pages Deployment¶
The pages.yml workflow:
- Installs MkDocs Material + plugins
- Builds the documentation site
- Deploys to
gh-pagesbranch - Available at: https://wild8highlander.github.io/choptuik_ac_bc/
Release Signing¶
Release artifacts are signed with sigstore:
- Python sdist and wheel are built
- Each artifact is signed using
sigstore sign - Signatures and certificates are uploaded as release assets
- Verification:
sigstore verify --certificate-identity=aslan08_05@mail.ru