mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-01-18 01:27:58 +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
|
||||
node_modules/
|
||||
docusaurus/website/build/
|
||||
coverage.txt
|
||||
|
||||
@@ -20,6 +20,9 @@ script:
|
||||
- make build
|
||||
- BITBUCKET_SERVER=http://localhost:7990 BITBUCKET_USERNAME=admin BITBUCKET_PASSWORD=admin make testacc
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
allow_failures:
|
||||
|
||||
2
Makefile
2
Makefile
@@ -3,6 +3,8 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
|
||||
PKG_NAME=bitbucket
|
||||
export GO111MODULE=on
|
||||
|
||||
export TESTARGS=-race -coverprofile=coverage.txt -covermode=atomic
|
||||
|
||||
export BITBUCKET_SERVER=http://localhost:7990
|
||||
export BITBUCKET_USERNAME=admin
|
||||
export BITBUCKET_PASSWORD=admin
|
||||
|
||||
Reference in New Issue
Block a user