mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
Fix: regression run after failure (#971)
* Fix: Regressions of run step after failure * Add test, to enshure no panic * Print error of failed step
This commit is contained in:
parent
80082bf688
commit
e2bd3da707
4 changed files with 37 additions and 6 deletions
|
@ -97,6 +97,7 @@ func TestRunEvent(t *testing.T) {
|
|||
{"testdata", "fail", "push", "exit with `FAILURE`: 1", platforms, ""},
|
||||
{"testdata", "runs-on", "push", "", platforms, ""},
|
||||
{"testdata", "checkout", "push", "", platforms, ""},
|
||||
{"testdata", "non-existent-action", "push", "Job 'nopanic' failed", platforms, ""},
|
||||
{"testdata", "shells/defaults", "push", "", platforms, ""},
|
||||
// TODO: figure out why it fails
|
||||
// {"testdata", "shells/custom", "push", "", map[string]string{"ubuntu-latest": "ghcr.io/justingrote/act-pwsh:latest"}, ""}, // custom image with pwsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue