Skip to content

Commit

Permalink
No need to run unit tests two times
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Oct 22, 2016
1 parent bdb4cd6 commit 4366f40
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ remove-pre-commit-hook:

## check {{{
.PHONY: check
check: unit-tests check-test-coverage check-integration-tests check-docs check-lint
check: check-unit-tests-with-coverage check-integration-tests check-docs check-lint

# TODO
.PHONY: check-tox
Expand Down Expand Up @@ -69,15 +69,15 @@ check-radon: yaml4rst/
check-travis.yml: .travis.yml
yamllint "$<"

.PHONY: unit-tests
unit-tests: check-nose

.PHONY: check-nose
check-nose:
$(NOSETESTS)

.PHONY: check-test-coverage
check-test-coverage:
.PHONY: check-unit-tests
check-unit-tests: check-nose

.PHONY: check-unit-tests-with-coverage
check-unit-tests-with-coverage:
$(NOSETESTS) --with-coverage --cover-package yaml4rst --cover-branches --cover-erase --cover-min-percentage=100

.PHONY: check-integration-tests
Expand Down

0 comments on commit 4366f40

Please sign in to comment.