Skip to content
Snippets Groups Projects
Commit 51791e19 authored by Anton Sattarov's avatar Anton Sattarov :cucumber:
Browse files

add gotestsum

parent a5a2e53e
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@ run_tests:
script:
- go fmt ./...
- go vet ./...
- go test ./...
- go install gotest.tools/gotestsum@v1.7.0
- gotestsum --junitfile report.xml --format testname -- -timeout 500s ./...
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
......@@ -16,5 +17,8 @@ run_tests:
- Dockerfile-frontend
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)'
artifacts:
when: always
reports:
junit: report.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment