Skip to content

Add CI workflow for testing and package building - #4

Merged
csett86 merged 6 commits into
mainfrom
copilot/add-github-actions-workflow
Jan 17, 2026
Merged

csett86 merged 6 commits into
mainfrom
copilot/add-github-actions-workflow

Conversation

Copilot AI commented Jan 17, 2026 •

Copy link
Copy Markdown
Contributor

Adds GitHub Actions workflow to automate testing and package distribution on PRs and main branch pushes.

Workflow Configuration

  • Triggers: Push to main, PRs targeting main
  • Python: 3.x (latest stable) with pip caching
  • Tests: pytest with verbose output
  • Build: sdist and wheel via python -m build
  • Artifacts: 30-day retention on built packages

Security

  • Explicit contents: read permission to limit GITHUB_TOKEN scope
  • Latest stable action versions (v6)
jobs:
  test-and-build:
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@v6
      - uses: actions/setup-python@v6
        with:
          python-version: '3.x'
          cache: 'pip'
      # ... test and build steps

> [!WARNING]
>
>

Original prompt

Create a github actions workflow that runs the tests and builds sdist and wheel on each PR and push to main


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits January 17, 2026 16:53
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions workflow for testing and building Add CI workflow for testing and package building Jan 17, 2026
Copilot AI requested a review from csett86 January 17, 2026 17:00
@csett86

csett86 commented Jan 17, 2026

Copy link
Copy Markdown
Member

@copilot Use python version "3.x"

Co-authored-by: csett86 <1392875+csett86@users.noreply.github.com>

Copilot AI commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Use python version "3.x"

Updated to use Python version '3.x' in commit 6f96447

@csett86
csett86 marked this pull request as ready for review January 17, 2026 17:07
@csett86
csett86 merged commit 93cefdf into main Jan 17, 2026
1 check passed
@csett86
csett86 deleted the copilot/add-github-actions-workflow branch January 17, 2026 17:07
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.

2 participants