Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
PYTHON

wheels:
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/python-v')
name: ${{ matrix.target }} / CPython abi3
needs: metadata
strategy:
Expand Down Expand Up @@ -112,6 +113,7 @@ jobs:
python -c 'from hyper_viz import HifDocument; assert "s:a" in HifDocument.from_json("{\"incidences\":[{\"node\":\"a\",\"edge\":\"e\"}]}").to_hypergraph_json()'

sdist:
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/python-v')
name: Source distribution
needs: metadata
runs-on: ubuntu-latest
Expand Down Expand Up @@ -146,6 +148,7 @@ jobs:


desktop:
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/tags/python-v')
name: ${{ matrix.target }} / desktop viewer
needs: metadata
strategy:
Expand Down
11 changes: 11 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@ cargo run --locked -p hyper-viz --example project_scene # headless, no window
The first release build can take several minutes.
[CONTRIBUTING.md](CONTRIBUTING.md) is authoritative for the test, clippy, fmt,
and Python checks a change must pass, and for what belongs in this repository.

## Hosted build costs

Keep ordinary Rust/browser CI and Python package-version checks on PRs. The
Python wheel, source-distribution and desktop platform matrices run only on
`python-v*` tags or explicit manual dispatch of `python.yml`. Installed-viewer
integration still requires both native wheel matrices. Run applicable local
checks from CONTRIBUTING.md before merging and record results in the PR.
Before publishing, qualify the intended release source on every supported
platform. Manual qualification never publishes to PyPI; publication keeps its
existing tag-only condition and environment approval.
Loading