Skip to content

Commit

Permalink
Undo Subtest Change
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinGrote committed Apr 27, 2021
1 parent d6dde6e commit 8720487
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
37 changes: 17 additions & 20 deletions pkg/runner/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,23 @@ func TestRunEvent(t *testing.T) {
tables := []TestJobFileInfo{
// linux/arm64

// {"testdata", "basic", "push", "", platforms, "linux/arm64"},
// {"testdata", "fail", "push", "exit with `FAILURE`: 1", platforms, "linux/arm64"},
// {"testdata", "runs-on", "push", "", platforms, "linux/arm64"},
// {"testdata", "job-container", "push", "", platforms, "linux/arm64"},
// {"testdata", "job-container-non-root", "push", "", platforms, "linux/arm64"},
// {"testdata", "uses-docker-url", "push", "", platforms, "linux/arm64"},
// {"testdata", "remote-action-docker", "push", "", platforms, "linux/arm64"},
// {"testdata", "remote-action-js", "push", "", platforms, "linux/arm64"},
// {"testdata", "local-action-docker-url", "push", "", platforms, "linux/arm64"},
// {"testdata", "local-action-dockerfile", "push", "", platforms, "linux/arm64"},
// {"testdata", "local-action-js", "push", "", platforms, "linux/arm64"},
// {"testdata", "matrix", "push", "", platforms, "linux/arm64"},
// {"testdata", "matrix-include-exclude", "push", "", platforms, "linux/arm64"},
// {"testdata", "commands", "push", "", platforms, "linux/arm64"},
{"testdata", "basic", "push", "", platforms, "linux/arm64"},
{"testdata", "fail", "push", "exit with `FAILURE`: 1", platforms, "linux/arm64"},
{"testdata", "runs-on", "push", "", platforms, "linux/arm64"},
{"testdata", "job-container", "push", "", platforms, "linux/arm64"},
{"testdata", "job-container-non-root", "push", "", platforms, "linux/arm64"},
{"testdata", "uses-docker-url", "push", "", platforms, "linux/arm64"},
{"testdata", "remote-action-docker", "push", "", platforms, "linux/arm64"},
{"testdata", "remote-action-js", "push", "", platforms, "linux/arm64"},
{"testdata", "local-action-docker-url", "push", "", platforms, "linux/arm64"},
{"testdata", "local-action-dockerfile", "push", "", platforms, "linux/arm64"},
{"testdata", "local-action-js", "push", "", platforms, "linux/arm64"},
{"testdata", "matrix", "push", "", platforms, "linux/arm64"},
{"testdata", "matrix-include-exclude", "push", "", platforms, "linux/arm64"},
{"testdata", "commands", "push", "", platforms, "linux/arm64"},
{"testdata", "workdir", "push", "", platforms, "linux/arm64"},
// {"testdata", "defaults-run", "push", "", platforms, "linux/arm64"},
// {"testdata", "uses-composite", "push", "", platforms, "linux/arm64"},
{"testdata", "defaults-run", "push", "", platforms, "linux/arm64"},
{"testdata", "uses-composite", "push", "", platforms, "linux/arm64"},
// {"testdata", "powershell", "push", "", platforms}, // Powershell is not available on default act test runner (yet) but preserving here for posterity
// {"testdata", "issue-228", "push", "", platforms, "linux/arm64"}, // TODO [igni]: Remove this once everything passes

Expand All @@ -111,10 +111,7 @@ func TestRunEvent(t *testing.T) {
secrets, _ := godotenv.Read(secretspath)

for _, table := range tables {
testName := "TestRunEvent" + "-" + table.workflowPath
t.Run(testName, func(t *testing.T) {
runTestJobFile(ctx, t, table, secrets)
})
runTestJobFile(ctx, t, table, secrets)
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/runner/testdata/_actions/actions-checkout@v2
Submodule actions-checkout@v2 added at 5a4ac9

0 comments on commit 8720487

Please sign in to comment.