@@ -40,7 +40,8 @@ jobs:
- name: Run tests
run: |
go install github.com/kyoh86/richgo@v0.3.10
- go test -coverprofile coverage.out -covermode=atomic ./... | sed 's/ *coverage:.*of statements in.*//' | richgo testfilter
+ go test -coverprofile coverage.out -covermode=atomic ./... > out.txt
+ cat out.txt | sed 's/ *coverage:.*of statements in.*//' | richgo testfilter
- name: Upload unit coverage to Codecov
uses: codecov/codecov-action@v2
@@ -76,6 +76,7 @@ jobs:
+ set -o pipefail
go install github.com/ory/go-acc@v0.2.8
go-acc ./... -o coverage.out --ignore database,notifications,protobufs,cwversion,cstest,models \