Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Upload test report and coverage to SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
lhelwerd committed Mar 23, 2018
1 parent 19541fa commit dc67316
Show file tree
Hide file tree
Showing 6 changed files with 718 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ build
dist
bigboat.egg-info
.coverage
test-reports/
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
COVERAGE=coverage
TEST=-m unittest discover -s tests -p '*.py'
TEST=test.py

.PHONY: all
all: release
Expand Down Expand Up @@ -61,8 +61,9 @@ test:

.PHONY: coverage
coverage:
$(COVERAGE) run $(TEST)
$(COVERAGE) run --branch --source=bigboat,tests $(TEST)
$(COVERAGE) report -m
$(COVERAGE) xml -i

.PHONY: clean
clean:
Expand Down

0 comments on commit dc67316

Please sign in to comment.