Skip to content

CI: build the package and smoke-test the wheel on every push - #74

Open
reacher-z wants to merge 1 commit into
mainfrom
ci/build-wheel
Open

reacher-z wants to merge 1 commit into
mainfrom
ci/build-wheel

Conversation

@reacher-z

Copy link
Copy Markdown
Collaborator

Closes #13

Only publish.yml built the distributions, when a release was published. A new package job in ci.yml:

  • runs uv build;
  • installs the wheel into a clean virtual environment and runs websitebench --version, websitebench list (expects 70 tasks) and harbor --version;
  • checks that the sdist contains websitebench-v1.json and no tasks/ files.

docs/development.md describes the job.

Only the publish workflow built the sdist and wheel, so a packaging
mistake (a module or the release index left out of the wheel, a broken
entry point) surfaced when a release was published. Build both in CI,
install the wheel into a clean environment, run websitebench --version
and list, and check that the sdist carries the index and no task files.
@reacher-z reacher-z added ci GitHub Actions and checks packaging PyPI package and release index labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci GitHub Actions and checks packaging PyPI package and release index

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI never builds the package; packaging mistakes surface at release time

1 participant