Skip to content

Commit 6ee3219

Browse files
committed
build: add makefile with required test script and update jenkinsfile
1 parent cdeaac6 commit 6ee3219

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.idea/
22
dist
3+
cover.out
4+
.semrel/

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
@Library('faceit-shared-libs') _
1+
@Library('faceit-shared-libs@semantic-release-official') _
22
goCommandLinePipeline(
3-
projectName : 'commit-analyzer-regex'
3+
projectName : 'commit-analyzer-regex',
4+
slackBuildLogChannel: '#nowhere',
5+
semanticReleaseToolName: 'semantic-release-official',
46
)

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: test
2+
test: ## Run Tests into the packages
3+
@echo "Running tests"
4+
go test -v -covermode=atomic -coverpkg=./... -coverprofile=cover.out ./...
5+
6+
.PHONY: integration
7+
integration: test

0 commit comments

Comments
 (0)