Skip to content

Comments

add github workflows to run tests and push python package to staging and then production.#8

Merged
YeChen-IDM merged 1 commit intoEMOD-Hub:genmoz_metricsfrom
YeChen-IDM:GHAs
Jan 14, 2026
Merged

add github workflows to run tests and push python package to staging and then production.#8
YeChen-IDM merged 1 commit intoEMOD-Hub:genmoz_metricsfrom
YeChen-IDM:GHAs

Conversation

@YeChen-IDM
Copy link
Collaborator

No description provided.

@YeChen-IDM YeChen-IDM requested a review from Copilot January 14, 2026 19:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'.

Suggested change
- genmoz_metrics
- genmoz-metrics

Copilot uses AI. Check for mistakes.
pull_request:
branches:
- main
- genmoz_metrics
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'.

Suggested change
- genmoz_metrics
- genmoz-metrics

Copilot uses AI. Check for mistakes.
@YeChen-IDM YeChen-IDM merged commit 87323e2 into EMOD-Hub:genmoz_metrics Jan 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant