Commit 2ddb9038 authored by Richer Maximilien's avatar Richer Maximilien

Add -race to CI

parent 4f119d7b
Pipeline #2347 failed with stage
......@@ -23,22 +23,22 @@ Unit tests:
- "ln -s $(pwd) $GOPATH/src/dfss"
- "./build/deps.sh"
- "cd $GOPATH/src/dfss && make install"
- "go test -coverprofile auth.part -v dfss/auth"
- "go test -coverprofile mgdb.part -v dfss/mgdb"
- "go test -coverprofile mails.part -v dfss/mails"
- "go test -coverprofile net.part -v dfss/net"
- "go test -coverprofile dfssp_authority.part -v dfss/dfssp/authority"
- "go test -coverprofile dfssp_user.part -v dfss/dfssp/user"
- "go test -coverprofile dfssp_contract.part -v dfss/dfssp/contract"
- "go test -coverprofile dfssp_templates.part -v dfss/dfssp/templates"
- "go test -coverprofile dfssp_common.part -v dfss/dfssp/common"
- "go test -coverprofile dfssc_common.part -v dfss/dfssc/common"
- "go test -coverprofile dfssc_security.part -v dfss/dfssc/security"
- "go test -coverprofile dfssc_user.part -v dfss/dfssc/user"
- "go test -coverprofile dfssc_user.part -v dfss/dfssc/sign"
- "go test -coverprofile dfsst_entities.part -v dfss/dfsst/entities"
- "go test -coverprofile dfsst_resolve.part -v dfss/dfsst/resolve"
- "go test -coverprofile dfsst_server.part -v dfss/dfsst/server"
- "go test -race -coverprofile auth.part -v dfss/auth"
- "go test -race -coverprofile mgdb.part -v dfss/mgdb"
- "go test -race -coverprofile mails.part -v dfss/mails"
- "go test -race -coverprofile net.part -v dfss/net"
- "go test -race -coverprofile dfssp_authority.part -v dfss/dfssp/authority"
- "go test -race -coverprofile dfssp_user.part -v dfss/dfssp/user"
- "go test -race -coverprofile dfssp_contract.part -v dfss/dfssp/contract"
- "go test -race -coverprofile dfssp_templates.part -v dfss/dfssp/templates"
- "go test -race -coverprofile dfssp_common.part -v dfss/dfssp/common"
- "go test -race -coverprofile dfssc_common.part -v dfss/dfssc/common"
- "go test -race -coverprofile dfssc_security.part -v dfss/dfssc/security"
- "go test -race -coverprofile dfssc_user.part -v dfss/dfssc/user"
- "go test -race -coverprofile dfssc_user.part -v dfss/dfssc/sign"
- "go test -race -coverprofile dfsst_entities.part -v dfss/dfsst/entities"
- "go test -race -coverprofile dfsst_resolve.part -v dfss/dfsst/resolve"
- "go test -race -coverprofile dfsst_server.part -v dfss/dfsst/server"
- "echo 'mode: set' *part > c.out"
- "grep -h -v 'mode: set' *part >> c.out"
- "go tool cover -html=c.out -o coverage.html"
......@@ -67,7 +67,7 @@ Integration tests:
- "cp $GOPATH/src/dfss/dfssd/dfssd $GOPATH/bin/"
- "cp $GOPATH/src/dfss/dfssd/libqtdrv.ui.so.1 /lib/"
# Start integration tests
- "go test -v dfss/tests"
- "go test -v -race dfss/tests"
Code lint:
stage: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment