Skip to content

Add GitHub Actions workflow for egg subpackage - #149

Merged
hzhangxyz merged 2 commits into
mainfrom
copilot/add-github-action-for-egg
Dec 22, 2025
Merged

Add GitHub Actions workflow for egg subpackage#149
hzhangxyz merged 2 commits into
mainfrom
copilot/add-github-action-for-egg

Conversation

Copilot AI commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

The egg subpackage lacked CI/CD automation. This adds pytest workflow matching the existing bnf pattern.

Changes

  • .github/workflows/egg-pytest.yml: New workflow with three jobs:
    • pytest: Tests on Python 3.11-3.14
    • build: Creates distribution packages on tag push
    • upload: Publishes to PyPI via pypi-egg environment

Key differences from bnf-pytest.yml

  • Removed antlr4-tools installation (not a dependency)
  • Working directory set to egg
  • PyPI target: apyds-egg

No JavaScript workflow needed - egg is Python-only.

Original prompt

This section details on the original issue you should resolve

<issue_title>需要给egg subpackage补充.github action</issue_title>
<issue_description>可以模仿bnf这个subpackage, 注意egg 这个subpackage只有python包,没有js的.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Action for egg subpackage Add GitHub Actions workflow for egg subpackage Dec 22, 2025
Copilot AI requested a review from hzhangxyz December 22, 2025 03:24
@hzhangxyz
hzhangxyz marked this pull request as ready for review December 22, 2025 04:07
Copilot AI review requested due to automatic review settings December 22, 2025 04:07
@hzhangxyz
hzhangxyz merged commit e48a1be into main Dec 22, 2025
70 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 CI/CD automation for the egg subpackage, following the established pattern from the bnf subpackage with appropriate modifications for Python-only testing and publishing.

Key Changes:

  • Adds automated pytest workflow for Python 3.11-3.14
  • Implements build and PyPI publishing on tag pushes
  • Correctly removes antlr4-tools dependency (not needed for egg)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

需要给egg subpackage补充.github action

3 participants