mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-03-27 20:01:07 +01:00
Added codecov
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -35,3 +35,4 @@ docker-compose
|
|||||||
docker-compose-test-plugin.jar
|
docker-compose-test-plugin.jar
|
||||||
node_modules/
|
node_modules/
|
||||||
docusaurus/website/build/
|
docusaurus/website/build/
|
||||||
|
coverage.txt
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ script:
|
|||||||
- make build
|
- make build
|
||||||
- BITBUCKET_SERVER=http://localhost:7990 BITBUCKET_USERNAME=admin BITBUCKET_PASSWORD=admin make testacc
|
- BITBUCKET_SERVER=http://localhost:7990 BITBUCKET_USERNAME=admin BITBUCKET_PASSWORD=admin make testacc
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -3,6 +3,8 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
|
|||||||
PKG_NAME=bitbucket
|
PKG_NAME=bitbucket
|
||||||
export GO111MODULE=on
|
export GO111MODULE=on
|
||||||
|
|
||||||
|
export TESTARGS=-race -coverprofile=coverage.txt -covermode=atomic
|
||||||
|
|
||||||
export BITBUCKET_SERVER=http://localhost:7990
|
export BITBUCKET_SERVER=http://localhost:7990
|
||||||
export BITBUCKET_USERNAME=admin
|
export BITBUCKET_USERNAME=admin
|
||||||
export BITBUCKET_PASSWORD=admin
|
export BITBUCKET_PASSWORD=admin
|
||||||
|
|||||||
Reference in New Issue
Block a user