Skip to content

Add shell.package_path setting for package.path defaults #2638

Add shell.package_path setting for package.path defaults

Add shell.package_path setting for package.path defaults #2638

Triggered via pull request December 31, 2023 01:44
Status Failure
Total duration 7m 49s
Artifacts

main-ci.yml

on: pull_request
Matrix: build-core
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Test on macOS
Process completed with exit code 1.
Test on macOS: projects/core/src/main/java/dan200/computercraft/core/lua/BasicFunction.java#L45
dan200.computercraft.core.ComputerTestDelegate.uses shell.package_path for package loading failed: java.lang.IllegalStateException: ...shell/require_spec.lua:88: module 'some_module' not found: no field package.preload['some_module'] no file '/test_files/some_module.lua'
Test on macOS: projects/core/src/test/resources/test-rom/mcfly.lua#L180
dan200.computercraft.core.ComputerTestDelegate.launches the viewer for a longer file failed: org.opentest4j.AssertionFailedError: Expected false but got true
Test on macOS: projects/core/src/test/resources/test-rom/mcfly.lua#L180
dan200.computercraft.core.ComputerTestDelegate.errors when there is no such help file failed: org.opentest4j.AssertionFailedError: Expected { combined = "/rom/programs/help.lua:20: module 'cc.strings' not found:\ no field package.preload['cc.strings']\ no file '/test_files/cc/strings.lua'\ \ ", ok = false, error = "/rom/programs/help.lua:20: module 'cc.strings' not found:\ no field package.preload['cc.strings']\ no file '/test_files/cc/strings.lua'\ ", output = "\ ", } to match { ok = true, error = "No help available\ ", output = "", }
Test on macOS: projects/core/src/test/resources/test-rom/mcfly.lua#L180
dan200.computercraft.core.ComputerTestDelegate.prints a short file directly failed: org.opentest4j.AssertionFailedError: Expected { "a short ", "file ", " ", } but got { "�«re \"cc.»", "� � ", " ", }
Test on Windows
Process completed with exit code 1.
Test on Windows
Process completed with exit code 1.
Build
Process completed with exit code 1.