Integration tests are not covered on CI runners

Looks like it is running a different version of default cli test.

Try mlugg/setup-zig@v1 in ci.yml instead of goto-bus-stop/setup-zig@v2

Github action thread in ziggit:


EDIT:

I just found what it runs:

First of all expect testing functions first argument must be the expected value and the second argument must be the actual value.

Change this:

    try std.testing.expectStringEndsWith(proc.err, default_run);
    try std.testing.expectEqual(proc.term.Exited, 0);

to:

    try std.testing.expectStringEndsWith(default_run, proc.err);
    try std.testing.expectEqual(0, proc.term.Exited);

I cannot find default_run declaration!