ci(pegasus): publish real junit test cases
This commit is contained in:
parent
befe71ebea
commit
2ea9550565
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -167,7 +167,7 @@ PY
|
||||
retry_command go install github.com/jstemmer/go-junit-report/v2@latest
|
||||
tool_rc=$?
|
||||
if [ "${tool_rc}" -eq 0 ]; then
|
||||
retry_command go test -coverprofile=../build/coverage-backend.out ./... > ../build/backend-test.out 2>&1
|
||||
retry_command go test -v -coverprofile=../build/coverage-backend.out ./... > ../build/backend-test.out 2>&1
|
||||
test_rc=$?
|
||||
else
|
||||
test_rc=1
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"build": "vite build",
|
||||
"preview": "vite preview --port 5173",
|
||||
"test": "jest --runInBand",
|
||||
"test:ci": "mkdir -p ../build && JEST_JUNIT_OUTPUT=../build/junit-frontend.xml jest --ci --runInBand --coverage --coverageReporters=text --coverageReporters=json-summary --coverageDirectory=../build/frontend-coverage --reporters=default --reporters=jest-junit"
|
||||
"test:ci": "mkdir -p ../build && JEST_JUNIT_OUTPUT_FILE=../build/junit-frontend.xml jest --ci --runInBand --coverage --coverageReporters=text --coverageReporters=json-summary --coverageDirectory=../build/frontend-coverage --reporters=default --reporters=jest-junit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@picocss/pico": "^2.1.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user