mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Hotfix: Skip Checkout Regression (#680)
* Fix: Skip Checkout Regression * Fix test name * Add newline to end of checkout push test * Restore .gitignore from node12 test. Todo: Restore that file after the test * Format workflow * Test: Fix path slash direction for windows relative source path * Add explicit nil test for newRemoteAction * Regress .secrets during tests Co-authored-by: Ryan (hackercat) <me@hackerc.at>
This commit is contained in:
parent
60bee1fc2f
commit
1d3cf75364
5 changed files with 19 additions and 12 deletions
|
@ -2,10 +2,8 @@ package runner
|
|||
|
||||
import (
|
||||
"context"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
"github.com/nektos/act/pkg/common"
|
||||
)
|
||||
|
||||
|
@ -25,8 +23,7 @@ func TestStepContextExecutor(t *testing.T) {
|
|||
}
|
||||
// These tests are sufficient to only check syntax.
|
||||
ctx := common.WithDryrun(context.Background(), true)
|
||||
secrets, _ := godotenv.Read(filepath.Join("..", ".secrets"))
|
||||
for _, table := range tables {
|
||||
runTestJobFile(ctx, t, table, secrets)
|
||||
runTestJobFile(ctx, t, table)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue