@marcel91200 / caddy Mirror · read-only / commits / e2940c8c
Fork 0

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: update the command to run tests on the s390x machine (#3995)

Mohammed Al Sahaf committed Jan 29, 2021 at 01:40 UTC e2940c8c03818f1227aa2c103e05fb5664635e11
1 file changed +2 -1
.github/workflows/ci.yml
+2 -1
@@ -64,6 +64,7 @@ jobs:
64 go env
65 printf "\n\nSystem environment:\n\n"
66 env
67 + printf "Git version: $(git version)\n\n"
68 # Calculate the short SHA1 hash of the git commit
69 echo "::set-output name=short_sha::$(git rev-parse --short HEAD)"
70 echo "::set-output name=go_cache::$(go env GOCACHE)"
@@ -137,7 +138,7 @@ jobs:
138
139 # The environment is fresh, so there's no point in keeping accepting and adding the key.
140 rsync -arz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress --delete --exclude '.git' . caddy-ci@ci-s390x.caddyserver.com:/var/tmp/"$short_sha"
140 - ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -t caddy-ci@ci-s390x.caddyserver.com "cd /var/tmp/$short_sha; CGO_ENABLED=0 /usr/local/go/bin/go test -v ./..."
141 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -t caddy-ci@ci-s390x.caddyserver.com "cd /var/tmp/$short_sha; go version; go env; printf "\n\n";CGO_ENABLED=0 go test -v ./..."
142 test_result=$?
143
144 # There's no need leaving the files around