1
0
mirror of synced 2024-11-23 04:36:01 +03:00

Merge pull request #42 from gwinn/release

Release
This commit is contained in:
Alex Lushpai 2018-09-19 17:12:58 +03:00 committed by GitHub
commit 2c61ebd067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

1
Jenkinsfile vendored
View File

@ -17,7 +17,6 @@ pipeline {
steps {
sh 'cp config_test.yml.dist config_test.yml'
compose 'up -d --build postgres_test'
compose 'run --rm mg_telegram_test make migrate_test'
}
}

View File

@ -19,7 +19,7 @@ test: deps fmt
@echo "==> Running tests"
@cd $(ROOT_DIR) && go test ./... -v -cpu 2
jenkins_test: deps
jenkins_test: migrate_test
@echo "==> Running tests (result in test-report.xml)"
@go get -v -u github.com/jstemmer/go-junit-report
@go test ./... -v -cpu 2 -race | /go/bin/go-junit-report -set-exit-code > ./test-report.xml