add back junit report in conformance ci (#3327)
This commit is contained in:
parent
75e0387be2
commit
be89466367
@ -228,15 +228,25 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: go get vectors branch
|
name: go get vectors branch
|
||||||
command: go get github.com/filecoin-project/test-vectors@<< parameters.vectors-branch >>
|
command: go get github.com/filecoin-project/test-vectors@<< parameters.vectors-branch >>
|
||||||
|
- go/install-gotestsum:
|
||||||
|
gobin: $HOME/.local/bin
|
||||||
|
version: 0.5.2
|
||||||
- run:
|
- run:
|
||||||
name: go test
|
name: go test
|
||||||
environment:
|
environment:
|
||||||
SKIP_CONFORMANCE: "0"
|
SKIP_CONFORMANCE: "0"
|
||||||
command: |
|
command: |
|
||||||
|
mkdir -p /tmp/test-reports
|
||||||
mkdir -p /tmp/test-artifacts
|
mkdir -p /tmp/test-artifacts
|
||||||
go test -v -coverpkg ./chain/vm/,github.com/filecoin-project/specs-actors/... -coverprofile=/tmp/conformance.out ./conformance/
|
gotestsum \
|
||||||
|
--format pkgname-and-test-fails \
|
||||||
|
--junitfile /tmp/test-reports/junit.xml \
|
||||||
|
-- \
|
||||||
|
-v -coverpkg ./chain/vm/,github.com/filecoin-project/specs-actors/... -coverprofile=/tmp/conformance.out ./conformance/
|
||||||
go tool cover -html=/tmp/conformance.out -o /tmp/test-artifacts/conformance-coverage.html
|
go tool cover -html=/tmp/conformance.out -o /tmp/test-artifacts/conformance-coverage.html
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
|
- store_test_results:
|
||||||
|
path: /tmp/test-reports
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-artifacts/conformance-coverage.html
|
path: /tmp/test-artifacts/conformance-coverage.html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user