feat: add node as shell type #120
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind
Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
5 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/act!120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Maks1mS/act:feat/node-as-shell-type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cascading-pr updated at forgejo/runner#543
feat: add node as shell typeto feat: add node as shell type [skip cascade]This is looking good 👍 Can you please confirm that the test is run in the CI?
https://code.forgejo.org/forgejo/act/actions/runs/616/jobs/0#jobstep-10-311 it should be around here but I don't see it. What am I missing?
@earl-warren wrote in #120 (comment):
It looks like I have to fix it here.
func TestStep_ShellCommand(t *testing.T) {tests := []struct {shell stringwant string}{{"pwsh -v '. {0}'", "pwsh -v '. {0}'"},{"pwsh", "pwsh -command . '{0}'"},{"powershell", "powershell -command . '{0}'"},}for _, tt := range tests {t.Run(tt.shell, func(t *testing.T) {got := (&Step{Shell: tt.shell}).ShellCommand()assert.Equal(t, got, tt.want)})}}I acted by analogy with the python shell, but it's not here. I can add it too.
feat: add node as shell type [skip cascade]to feat: add node as shell typeThe test ran successfully https://code.forgejo.org/forgejo/act/actions/runs/618/jobs/0#jobstep-10-315