-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
smoia
committed
Nov 11, 2020
1 parent
2c7fb6d
commit 2b802c0
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,4 +228,4 @@ workflows: | |
- unittest_37 | ||
- integrationtest_36 | ||
- integrationtest_37 | ||
- style_check | ||
- style_check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.PHONY: all lint | ||
|
||
all_tests: lint unittest integration | ||
|
||
help: | ||
@echo "Please use 'make <target>' where <target> is one of:" | ||
@echo " lint to run flake8 on all Python files" | ||
@echo " unittest to run unit tests on phys2denoise" | ||
@echo " integration to run the integration test set on phys2denoise" | ||
@echo " all_tests to run 'lint', 'unittest', and 'integration'" | ||
|
||
lint: | ||
@flake8 phys2denoise | ||
|
||
unittest: | ||
@py.test --skipintegration --cov-append --cov-report term-missing --cov=phys2denoise phys2denoise/ | ||
|
||
integration: | ||
@pip install -e ".[test]" | ||
@py.test --log-cli-level=INFO --cov-append --cov-report term-missing --cov=phys2denoise -k test_integration phys2denoise/tests/test_integration.py |