ci: parallel
continuous-integration/drone the build was successful
Details
continuous-integration/drone the build was successful
Details
This commit is contained in:
parent
b29a85551f
commit
679191c55b
|
@ -7,6 +7,7 @@ services:
|
||||||
pipeline:
|
pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install python3 --yes
|
- apt install python3 --yes
|
||||||
|
@ -17,6 +18,7 @@ pipeline:
|
||||||
|
|
||||||
test-coverage:
|
test-coverage:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- go get -d -t ./...
|
- go get -d -t ./...
|
||||||
- go test -ldflags "-X dev.sum7.eu/genofire/golang-lib/web/webtest.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable -X dev.sum7.eu/genofire/golang-lib/database.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable" $(go list ./... | grep -v /vendor/) -v -failfast -p 1 -coverprofile .testCoverage.txt
|
- go test -ldflags "-X dev.sum7.eu/genofire/golang-lib/web/webtest.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable -X dev.sum7.eu/genofire/golang-lib/database.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable" $(go list ./... | grep -v /vendor/) -v -failfast -p 1 -coverprofile .testCoverage.txt
|
||||||
|
@ -24,6 +26,7 @@ pipeline:
|
||||||
|
|
||||||
test-race:
|
test-race:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
group: test-race
|
||||||
commands:
|
commands:
|
||||||
- go get -d -t ./...
|
- go get -d -t ./...
|
||||||
- go test -ldflags "-X dev.sum7.eu/genofire/golang-lib/web/webtest.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable -X dev.sum7.eu/genofire/golang-lib/database.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable" $(go list ./... | grep -v /vendor/) -race
|
- go test -ldflags "-X dev.sum7.eu/genofire/golang-lib/web/webtest.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable -X dev.sum7.eu/genofire/golang-lib/database.DBConnection=postgres://root:root@database:26257/defaultdb?sslmode=disable" $(go list ./... | grep -v /vendor/) -race
|
||||||
|
|
Loading…
Reference in New Issue