mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-31 18:30:58 +00:00
tests: add node and python in TestStep_ShellCommand
This commit is contained in:
parent
e97623bbaf
commit
230f450bc2
1 changed files with 2 additions and 0 deletions
|
@ -510,6 +510,8 @@ func TestStep_ShellCommand(t *testing.T) {
|
||||||
{"pwsh -v '. {0}'", "pwsh -v '. {0}'"},
|
{"pwsh -v '. {0}'", "pwsh -v '. {0}'"},
|
||||||
{"pwsh", "pwsh -command . '{0}'"},
|
{"pwsh", "pwsh -command . '{0}'"},
|
||||||
{"powershell", "powershell -command . '{0}'"},
|
{"powershell", "powershell -command . '{0}'"},
|
||||||
|
{"node", "node {0}"},
|
||||||
|
{"python", "python {0}"},
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.shell, func(t *testing.T) {
|
t.Run(tt.shell, func(t *testing.T) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue