Skip to content

run-tests: enable building deps#189

Merged
nick1udwig merged 2 commits intov0.6.6from
hf/run-tests-enable-building-deps
Jul 12, 2024
Merged

run-tests: enable building deps#189
nick1udwig merged 2 commits intov0.6.6from
hf/run-tests-enable-building-deps

Conversation

@nick1udwig
Copy link
Copy Markdown
Member

@nick1udwig nick1udwig commented Jul 12, 2024

Problem

Cannot test packages that have dependencies.

Solution

Add a "dependency build server" to run-tests. Before building, a node is started and packages are built pointing at this node. Dependencies can be specified in tests.toml and will be built & loaded onto the node before building other packages. Thus, packages with dependencies can be tested.

Docs Update

hyperware-ai/hyperware-book@5fcc4e5

Notes

You can see this in action with the test templates themselves which all depend on tester:sys and some of which depend on the package they are testing.

@nick1udwig nick1udwig marked this pull request as ready for review July 12, 2024 04:46
@nick1udwig nick1udwig merged commit 7ff82ed into v0.6.6 Jul 12, 2024
@nick1udwig nick1udwig deleted the hf/run-tests-enable-building-deps branch July 12, 2024 04:47
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