push test logs to file

This commit is contained in:
HiteshRepo 2024-01-28 11:44:42 +05:30
parent 5c0ceaf781
commit bf60df48e5

View File

@ -304,7 +304,10 @@ jobs:
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
- name: one test
run: go test -v -run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path
run: |
go test -v -run '^TestPathUnitSuite/Test_Stuff$' ./pkg/path \
2>&1 | tee ./testlog/gotest-unit.log
# run the tests
# - name: Unit Tests
# env: