Skip to content

Add CI and release workflows#1

Merged
JoOkuma merged 4 commits into
mainfrom
add-ci-workflows
Jun 15, 2026
Merged

Add CI and release workflows#1
JoOkuma merged 4 commits into
mainfrom
add-ci-workflows

Conversation

@JoOkuma

@JoOkuma JoOkuma commented Jun 15, 2026

Copy link
Copy Markdown
Member

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.

JoOkuma added 4 commits June 15, 2026 10:43
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.
@JoOkuma JoOkuma merged commit b24b58d into main Jun 15, 2026
3 checks passed
@JoOkuma JoOkuma deleted the add-ci-workflows branch June 15, 2026 19:28
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.

1 participant