Description
Enhance the CI/CD pipeline to automate releases, improve test coverage reporting, and add more quality gates.
Current state
- Basic PR validation workflow
- Manual release process
Proposed improvements
1. Automated releases on tags
# Trigger on version tags
on:
push:
tags:
- 'v*'
2. Enhanced test matrix
3. Code quality gates
4. Performance benchmarks
5. Documentation deployment
Files to create/modify
.github/workflows/release.yml (new)
.github/workflows/pr-validation.yml (enhance)
.github/workflows/docs.yml (new)
.github/dependabot.yml (new)
Example release workflow
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build package
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
Description
Enhance the CI/CD pipeline to automate releases, improve test coverage reporting, and add more quality gates.
Current state
Proposed improvements
1. Automated releases on tags
2. Enhanced test matrix
3. Code quality gates
4. Performance benchmarks
5. Documentation deployment
Files to create/modify
.github/workflows/release.yml(new).github/workflows/pr-validation.yml(enhance).github/workflows/docs.yml(new).github/dependabot.yml(new)Example release workflow