From 8a18fb08ad38d93982859b3d249410317800c31e Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Thu, 22 May 2025 22:53:07 +0200 Subject: [PATCH] chore(ci): disable invalid test case (#2875) * chore(ci): disable invalid test case * GitHub Hosted Runners `sh` no longer identifies itself as `bash` * fix indent --- pkg/runner/runner_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/runner/runner_test.go b/pkg/runner/runner_test.go index a6eb46b..e34f65e 100644 --- a/pkg/runner/runner_test.go +++ b/pkg/runner/runner_test.go @@ -538,7 +538,9 @@ func TestRunEventHostEnvironment(t *testing.T) { {workdir, "matrix", "push", "", platforms, secrets}, {workdir, "matrix-include-exclude", "push", "", platforms, secrets}, {workdir, "commands", "push", "", platforms, secrets}, - {workdir, "defaults-run", "push", "", platforms, secrets}, + // Disabled for now because this test is somewhat invalid + // shell sh is not necessarily bash if the job has no override + // {workdir, "defaults-run", "push", "", platforms, secrets}, {workdir, "composite-fail-with-output", "push", "", platforms, secrets}, {workdir, "issue-597", "push", "", platforms, secrets}, {workdir, "issue-598", "push", "", platforms, secrets},