Skip to content

Commit

Permalink
build: add makefile with required test script and update jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fitz7 committed Mar 3, 2023
1 parent cdeaac6 commit 6ee3219
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea/
dist
cover.out
.semrel/
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@Library('faceit-shared-libs') _
@Library('faceit-shared-libs@semantic-release-official') _
goCommandLinePipeline(
projectName : 'commit-analyzer-regex'
projectName : 'commit-analyzer-regex',
slackBuildLogChannel: '#nowhere',
semanticReleaseToolName: 'semantic-release-official',
)
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: test
test: ## Run Tests into the packages
@echo "Running tests"
go test -v -covermode=atomic -coverpkg=./... -coverprofile=cover.out ./...

.PHONY: integration
integration: test

0 comments on commit 6ee3219

Please sign in to comment.