Skip to content

Add build verification to CI workflow #8

@kashifpk

Description

@kashifpk

Summary

Add a build verification job to the CI workflow to ensure the package builds correctly on every PR and push.

Implementation

Add a new job to .github/workflows/ci.yml:

build:
  name: Build Package
  runs-on: ubuntu-latest
  steps:
    - uses: actions/checkout@v4

    - name: Install uv
      uses: astral-sh/setup-uv@v4
      with:
        version: "latest"

    - name: Set up Python
      run: uv python install

    - name: Build package
      run: uv build

    - name: Upload build artifacts
      uses: actions/upload-artifact@v4
      with:
        name: dist
        path: dist/

Acceptance Criteria

  • Build job runs on push to main and PRs
  • Build artifacts are uploaded for inspection
  • Build failure blocks PR merge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions