Skip to content

Commit

Permalink
Merge pull request #189 from kinode-dao/hf/run-tests-enable-building-…
Browse files Browse the repository at this point in the history
…deps

run-tests: enable building deps
  • Loading branch information
nick1udwig committed Jul 12, 2024
2 parents ea44eec + 9c0e28a commit 7ff82ed
Show file tree
Hide file tree
Showing 15 changed files with 374 additions and 330 deletions.
1 change: 1 addition & 0 deletions src/new/templates/test/chat/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runtime_build_release = false


[[tests]]
dependency_package_paths = [".."]
setup_packages = [
{ path = "..", run = true }
]
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"code_hashes": {
"0.1.0": ""
},
"wit_version": 0
"wit_version": 0,
"dependencies": [
"{package_name}:{publisher}",
"tester:sys"
]
},
"external_url": "",
"animation_url": ""
Expand Down
1 change: 1 addition & 0 deletions src/new/templates/test/echo/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runtime_build_release = false


[[tests]]
dependency_package_paths = []
setup_packages = [
{ path = "..", run = true }
]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
world {package_name_kebab}-test-{publisher_dotted_kebab}-v0 {
import tester;
include process-v0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"code_hashes": {
"0.1.0": ""
},
"wit_version": 0
"wit_version": 0,
"dependencies": [
"tester:sys"
]
},
"external_url": "",
"animation_url": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod tester_lib;

wit_bindgen::generate!({
path: "target/wit",
world: "tester-sys-v0",
world: "{package_name_kebab}-test-{publisher_dotted_kebab}-v0",
generate_unused_types: true,
additional_derives: [PartialEq, serde::Deserialize, serde::Serialize, process_macros::SerdeJsonInto],
});
Expand Down
1 change: 1 addition & 0 deletions src/new/templates/test/fibonacci/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runtime_build_release = false


[[tests]]
dependency_package_paths = [".."]
setup_packages = [
{ path = "..", run = true }
]
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"code_hashes": {
"0.1.0": ""
},
"wit_version": 0
"wit_version": 0,
"dependencies": [
"{package_name}:{publisher}",
"tester:sys"
]
},
"external_url": "",
"animation_url": ""
Expand Down
Loading

0 comments on commit 7ff82ed

Please sign in to comment.