Commit 0b2bc84ade
Verified · cmc ci/build: success ci/test: failure
.gitbay/ci.yml +12
| @@ -1,5 +1,17 @@ | ||
| 1 | 1 | jobs: |
| 2 | # Fast feedback: this finishes in seconds, so it is not held behind the | |
| 3 | # suite. | |
| 2 | 4 | build: |
| 3 | 5 | steps: |
| 4 | 6 | - go build ./... |
| 5 | 7 | - go vet ./... |
| 8 | # The suite drives real git, ssh, sshd and gpg. Several tests skip | |
| 9 | # themselves when a tool is absent, so the prerequisites are asserted | |
| 10 | # first: a green check that quietly tested less is worse than a red one. | |
| 11 | # The 20m is under the runner's own 30m limit, so go times out first and | |
| 12 | # says which test hung instead of the runner killing it blind. | |
| 13 | test: | |
| 14 | steps: | |
| 15 | - for t in git git-lfs gpg; do command -v $t >/dev/null || { echo "missing $t"; exit 1; }; done | |
| 16 | - test -x /usr/sbin/sshd || { echo "missing /usr/sbin/sshd"; exit 1; } | |
| 17 | - go test ./... -count=1 -timeout 20m | |