Skip to content

Commit 2ff880e

Browse files
committed
fix(build): separate Zig + Lua tests again
1 parent a6c6551 commit 2ff880e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ jobs:
1616
luaVersion: "5.4.7"
1717
- uses: luarocks/gh-actions-luarocks@v5
1818
- run: luarocks install busted
19+
- run: zig build
1920
- run: zig build test
21+
timeout-minutes: 5
22+
continue-on-error: true
23+
- run: zig build run -- test
24+
timeout-minutes: 1
25+
continue-on-error: true
2026
check-fmt:
2127
runs-on: ubuntu-latest
2228
steps:

build.zig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,8 @@ pub fn build(b: *std.Build) !void {
106106
tests.root_module.addImport("assets", assets);
107107
const tests_run = b.addRunArtifact(tests);
108108

109-
const run_lua_tests = b.addRunArtifact(exe);
110-
run_lua_tests.addArg("test");
111109
const tests_step = b.step("test", "test seamstress");
112110
tests_step.dependOn(&tests_run.step);
113-
tests_step.dependOn(&run_lua_tests.step);
114111

115112
const run = b.addRunArtifact(exe);
116113
run.step.dependOn(b.getInstallStep());

0 commit comments

Comments
 (0)