Skip to content

Prefixing the module names #67

Prefixing the module names

Prefixing the module names #67

Triggered via push April 17, 2025 19:54
Status Failure
Total duration 59s
Artifacts

ci.yml

on: push
Build and run example app
23s
Build and run example app
Build and run example tenants app
20s
Build and run example tenants app
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Failed Test: TestGenerateModuleCompiles
TestGenerateModuleCompiles: === RUN TestGenerateModuleCompiles 2025/04/17 19:54:22 DEBUG Found parent go.mod path=/home/runner/work/modular/modular/cmd/modcli/go.mod 2025/04/17 19:54:22 DEBUG Successfully parsed parent go.mod. module=github.com/GoCodeAlone/modular/cmd/modcli 2025/04/17 19:54:22 WARN Output directory is outside the parent module's hierarchy. Falling back to Git-based module path. parent_dir=/home/runner/work/modular/modular/cmd/modcli output_dir=/tmp/modcli-compile-test-3862755317/testcompile/testcompile 2025/04/17 19:54:22 DEBUG Could not find git root, will use default module path. error=".git directory not found in any parent directory" 2025/04/17 19:54:22 INFO Using default module path for standalone project path=github.com/yourusername/testcompile 2025/04/17 19:54:22 DEBUG Successfully created go.mod file. path=/tmp/modcli-compile-test-3862755317/testcompile/testcompile/go.mod 2025/04/17 19:54:22 DEBUG Generated go.mod: content="module github.com/yourusername/testcompile\n\ngo 1.24.2\n\nrequire (\n\tgithub.com/GoCodeAlone/modular v1\n\tgithub.com/stretchr/testify v1.10.0\n)\n" 2025/04/17 19:54:22 DEBUG Skipping go mod tidy and go fmt in test environment Successfully generated module 'TestCompile' in /tmp/modcli-compile-test-3862755317/testcompile generate_module_test.go:852: Failed to compile the generated module: exit status 1 Output: main.go:7:2: import "github.com/GoCodeAlone/modular" is a program, not an importable package --- FAIL: TestGenerateModuleCompiles (3.26s) - No trace available
Test CLI
Process completed with exit code 1.