add github workflows to run tests and push python package to staging and then production.#8
Conversation
…and then production.
There was a problem hiding this comment.
Pull request overview
This PR adds GitHub Actions workflows to automate testing and deployment of a Python package to staging and production environments. The workflows implement a two-stage deployment pipeline with automated testing.
Changes:
- Added workflow to run tests and deploy to staging on pushes to main/genmoz_metrics branches
- Created reusable workflow for running pytest unit tests
- Implemented manual workflow to promote packages from staging to production
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/test_and_publish_package_to_staging.yml | Main workflow that triggers tests and staging deployment on code changes |
| .github/workflows/staging-build-package.yml | Builds and publishes Python package to Artifactory staging repository |
| .github/workflows/run-tests.yml | Reusable workflow that runs pytest unit tests on Python 3.9/Ubuntu |
| .github/workflows/promote_package_to_production.yml | Manual workflow to promote a specific package version from staging to production |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| push: | ||
| branches: | ||
| - main | ||
| - genmoz_metrics |
There was a problem hiding this comment.
The branch name 'genmoz_metrics' appears to be a typo or uses inconsistent naming. Consider using a more descriptive name like 'genmoz-metrics' with hyphens, or verify if this should be 'genmod_metrics' or 'genomoz_metrics'.
| - genmoz_metrics | |
| - genmoz-metrics |
| pull_request: | ||
| branches: | ||
| - main | ||
| - genmoz_metrics |
There was a problem hiding this comment.
The branch name 'genmoz_metrics' appears to be a typo or uses inconsistent naming. Consider using a more descriptive name like 'genmoz-metrics' with hyphens, or verify if this should be 'genmod_metrics' or 'genomoz_metrics'.
| - genmoz_metrics | |
| - genmoz-metrics |
No description provided.