mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: try twice test-race and test-coverage when test is successful
This commit is contained in:
@@ -35,8 +35,9 @@ run tests:
|
|||||||
- time apk add --no-cache git make gcc musl-dev protoc shared-mime-info
|
- time apk add --no-cache git make gcc musl-dev protoc shared-mime-info
|
||||||
- time go mod download
|
- time go mod download
|
||||||
- touch web/data # don't build web data
|
- touch web/data # don't build web data
|
||||||
- time make test-race
|
- time make test
|
||||||
- time make test-coverage
|
- time make test-race || make test-race
|
||||||
|
- time make test-coverage || make test-coverage
|
||||||
coverage: '/Code coverage: [0-9.]+/'
|
coverage: '/Code coverage: [0-9.]+/'
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
|
|||||||
Reference in New Issue
Block a user