ci: Add automated testing matrix and PyPI Trusted Publishing release workflows - #2
ci: Add automated testing matrix and PyPI Trusted Publishing release workflows#2jeremylanes wants to merge 3 commits into
Conversation
…ross a matrix of Python versions (3.10 to 3.14+) and Django (4.2 LTS, 5.0, 5.1, 5.2).
ci: Add GitHub Actions CI/CD workflows and Commitizen automated release setupSummaryThis PR sets up continuous integration (CI) and automated continuous deployment (CD) workflows for
🛠️ One-Time Setup for PyPI Trusted Publishing (For @ProKelly)To enable automated deployment from this repository to PyPI, follow these quick steps: Step 1: Add GitHub as a Trusted Publisher on PyPI
Step 2: Automated Release with Commitizen (
|
Summary
This PR sets up the continuous integration (CI) and automated continuous deployment (CD) workflows for
django-alpineusing GitHub Actions:Automated Testing Matrix (
.github/workflows/test.yml):./bin/test.shon every push and pull request across Python3.10,3.11,3.12,3.13, and3.14-devpaired with Django4.2 LTS,5.0, and5.1.Automated PyPI Deployment (
.github/workflows/publish.yml):sdist(.tar.gz) andwheel(.whl) distributions cleanly.twine check --strictbefore publication to guarantee package validity.🛠️ One-Time Setup for PyPI Trusted Publishing (For @ProKelly)
To enable automated deployment from this repository to PyPI, follow these 3 quick steps:
Step 1: Add GitHub as a Trusted Publisher on PyPI
👉 https://pypi.org/manage/project/django-alpine/settings/publishing/
GitHubProKellydjango-alpinepublish.ymlStep 2: Trigger the First Release (v0.2.0)
Whenever you want to release a new version to PyPI:
main.https://github.com/ProKelly/django-alpine/releases/newv0.2.0, and select Create new tag: v0.2.0 on publish.django-alpine 0.2.0) and click "Publish release".GitHub Actions will automatically run
publish.yml, verify the package, and uploaddjango-alpine 0.2.0directly to PyPI!Verification
python -m build(generates valid.tar.gzand.whl).twine check --strict dist/*(PASSED).