mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-16 20:51:46 +00:00
Added pipefail
This commit is contained in:
parent
fc14668e33
commit
ef303b6eaa
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ jobs:
|
||||||
|
|
||||||
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
|
# Run tests with nice formatting. Save the original log in /tmp/gotest.log
|
||||||
- name: Run tests
|
- 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.
|
# Upload the original go test log as an artifact for later review.
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue