Skip to content

Conversation

@drnlm
Copy link
Member

@drnlm drnlm commented Oct 17, 2025

This adds a set to build the sdist and wheel in the CI pipeline, so we can at least check that it continues working.

It would be useful to add some checks to the contents to avoid regressions, but I'm not sure of the best approach thee.

Copy link
Member

@hodgestar hodgestar left a comment

Choose a reason for hiding this comment

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

It would be nice to add some spot tests, but very happy just to merge this as is.

Possible spot tests:

  • Wheel:
    • Install
    • Run tests somehow.
  • sdist:
    • Spot check important files (license, pyproject.toml, data files, ...)

@drnlm
Copy link
Member Author

drnlm commented Oct 24, 2025

I've added a step to install and run tests against the wheel (which did identify some issues, which are also fixed).

I'll try do something on testing the sdist over the next few days

@drnlm
Copy link
Member Author

drnlm commented Oct 25, 2025

I've now added a compare between the generated sdist and the source branch, as the easiest way to check that everything we want is there

I have verified that the test correctly fails when files aren't present - see https://github.com/drnlm/wafer/actions/runs/18799782582/job/53645588751

@drnlm drnlm merged commit 345fafb into CTPUG:master Oct 25, 2025
34 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.

2 participants