This directory contains GitHub-specific configuration files for ProjectHephaestus.
Continuous Integration pipeline that runs on every push and pull request to main.
Matrix:
- OS:
ubuntu-latest - Python:
3.12 - Test types:
unit,integration
Jobs:
- Unit tests: pytest with coverage (≥80%)
- Integration tests: import smoke tests + wheel build/install
- Structure check: enforces test mirrors source layout
Status Badge:
Runs all pre-commit hooks (ruff, mypy, security checks) on pull requests.
Scheduled and on-demand pip-audit scan for dependency vulnerabilities.
Builds and publishes the package to PyPI on version tag push (v*).
To update a workflow:
- Edit the relevant
.github/workflows/*.ymlfile - Test locally if possible
- Commit and push to trigger the workflow
- Monitor the Actions tab on GitHub
Workflows follow GitHub Actions security best practices:
- No untrusted input in
run:commands - Environment variables used for user-controlled data
- Dependencies pinned with version constraints
- Actions pinned to specific SHAs (release.yml) or versions