Added pipefail

This commit is contained in:
Janos 2021-07-28 10:08:48 +02:00
parent fc14668e33
commit ef303b6eaa
No known key found for this signature in database
GPG key ID: 465EF45E51CBA2BA

View file

@ -36,7 +36,9 @@ jobs:
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
- name: Run tests
run: go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
run: |
set -euo pipefail
go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
# Upload the original go test log as an artifact for later review.
- name: Upload test log