Skip to content

Commit

Permalink
fix: disable build --ssh test on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Alvarez <[email protected]>
  • Loading branch information
pendo324 committed Jan 5, 2024
1 parent 429f016 commit ddbbb77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"strings"

"github.com/onsi/ginkgo/v2"
Expand Down Expand Up @@ -127,6 +128,9 @@ func Build(o *option.Option) {
})

ginkgo.It("Build an image with --ssh option", func() {
if runtime.GOOS == "windows" {
ginkgo.Skip("non-functional on Windows, see https://github.com/runfinch/finch/issues/750")
}
containerWithSSH := fmt.Sprintf(`FROM %s
RUN ["echo", "built from Dockerfile.with-ssh"]
`, defaultImage)
Expand Down

0 comments on commit ddbbb77

Please sign in to comment.