Add CI and release workflows#1
Merged
Merged
Conversation
Adapt the tracksdata workflows for hoct (no docs/benchmarks, no Qt): - ci.yml: lint (ruff pinned to the pre-commit baseline) + test matrix on Python 3.11/3.12 with coverage. GEFF fixtures, model weights, and a Gurobi license are not provisioned in CI, so the data/model/solver tests skip while the unit tests and the local-server download mechanism run. - release.yml: on `v*` tags, build with uv and publish to PyPI via trusted publishing (OIDC) plus a GitHub release; `workflow_dispatch` supports a dry-run. fetch-depth: 0 so hatch-vcs derives the version from the tag. Also gitignore coverage.xml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds GitHub Actions for testing and PyPI releases, adapted from
tracksdata(no docs/benchmarks, no Qt).CI lints with the pinned ruff (0.11.12) and tests on Python 3.11/3.12. GEFF fixtures, model weights, and a Gurobi license are not provisioned in CI, so the data/model/solver tests skip while the unit tests and the local-server download mechanism run. Release builds on
v*tags and publishes to PyPI via trusted publishing, plus a GitHub release.Opening this PR primarily to exercise the CI workflow itself.