Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
ci: exclude integration tests for now (#3188)
A workaround for inconsistent results on Windows
Mark Sargent committed
Mar 26, 2020 at 03:55 UTC
ba08833b2acceb054177149f1de1c45a548bd36b
2 files changed
+6
-1
.github/workflows/ci.yml
+1
-1
@@ -93,7 +93,7 @@ jobs:
93
# continue-on-error: true
94
run: |
95
# (go test -v -coverprofile=cover-profile.out -race ./... 2>&1) > test-results/test-result.out
96
- go test -v -coverprofile="cover-profile.out" -race ./...
96
+ go test -v -coverprofile="cover-profile.out" -short -race ./...
97
# echo "::set-output name=status::$?"
98
99
# Relevant step if we reinvestigate publishing test/coverage reports
caddytest/caddytest.go
+5
@@ -68,6 +68,11 @@ func InitServer(t *testing.T, rawConfig string, configType string) {
68
// type. The configType must be either "json" or the adapter type.
69
func initServer(t *testing.T, rawConfig string, configType string) error {
70
71
+ if testing.Short() {
72
+ t.SkipNow()
73
+ return nil
74
+ }
75
+
76
err := validateTestPrerequisites()
77
if err != nil {
78
t.Skipf("skipping tests as failed integration prerequisites. %s", err)