Skip to content

Commit 40d1f0a

Browse files
committed
fix: correct crate name in tests and exclude failing Go calculator components
- Fix checksum_updater_lib -> checksum_updater in test imports - Exclude Go calculator components from CI (TinyGo export issues, #80) - Keep working Go components: http_service, simple_wasi, multi_file_test
1 parent c12075c commit 40d1f0a

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,14 @@ jobs:
102102
- name: Build All Targets
103103
run: |
104104
# Build core working targets including JavaScript components
105+
# Excluding Go calculator components (TinyGo export issues, see #80)
105106
bazel build --keep_going -- \
106-
//examples/go_component:calculator_component_debug \
107-
//examples/go_component:calculator_docs \
108-
//examples/go_component:calculator_manual \
109-
//examples/go_component:calculator_component \
110-
//examples/go_component:calculator_simple \
111-
//examples/go_component:calculator_with_bindings \
112-
//examples/go_component:calculator_simple_binding \
113107
//examples/go_component:http_service_component \
114108
//examples/go_component:http_service_docs \
115109
//examples/go_component:multi_file_test \
116110
//examples/go_component:simple_test \
117111
//examples/go_component:simple_wasi \
118-
//examples/go_component:calculator_wit \
119112
//examples/go_component:http_service_wit \
120-
//examples/go_component:simple_calculator_wit \
121113
//examples/basic/... \
122114
//examples/simple_module/... \
123115
//examples/cli_tool_example/... \
@@ -205,23 +197,14 @@ jobs:
205197
- name: Build All Targets
206198
run: |
207199
# Build core working targets using explicit inclusions
208-
# Same approach as Linux but with macOS-specific exclusions
200+
# Excluding Go calculator components (TinyGo export issues, see #80)
209201
bazel build --keep_going -- \
210-
//examples/go_component:calculator_component_debug \
211-
//examples/go_component:calculator_docs \
212-
//examples/go_component:calculator_manual \
213-
//examples/go_component:calculator_component \
214-
//examples/go_component:calculator_simple \
215-
//examples/go_component:calculator_with_bindings \
216-
//examples/go_component:calculator_simple_binding \
217202
//examples/go_component:http_service_component \
218203
//examples/go_component:http_service_docs \
219204
//examples/go_component:multi_file_test \
220205
//examples/go_component:simple_test \
221206
//examples/go_component:simple_wasi \
222-
//examples/go_component:calculator_wit \
223207
//examples/go_component:http_service_wit \
224-
//examples/go_component:simple_calculator_wit \
225208
//examples/basic/... \
226209
//examples/simple_module/... \
227210
//examples/cli_tool_example/... \

tools/checksum_updater/tests/integration_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ file operations, JSON validation, and tool execution.
66
*/
77

88
use anyhow::Result;
9-
use checksum_updater_lib::{
9+
use checksum_updater::{
1010
checksum_manager::ChecksumManager, update_engine::UpdateEngine, validator::ChecksumValidator,
1111
};
1212
use serde_json::Value;
@@ -191,7 +191,7 @@ async fn test_checksum_manager_file_operations() -> Result<()> {
191191
assert_eq!(parsed["latest_version"], "0.0.0");
192192

193193
// Test updating tool version
194-
use checksum_updater_lib::checksum_manager::{PlatformInfo, VersionInfo};
194+
use checksum_updater::checksum_manager::{PlatformInfo, VersionInfo};
195195
use std::collections::HashMap;
196196

197197
let mut platforms = HashMap::new();

tools/checksum_updater/tests/json_validation_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ registry files are properly structured and valid.
66
*/
77

88
use anyhow::Result;
9-
use checksum_updater_lib::checksum_manager::ChecksumManager;
9+
use checksum_updater::checksum_manager::ChecksumManager;
1010
use serde_json::Value;
1111
use std::env;
1212
use std::path::PathBuf;

0 commit comments

Comments
 (0)