Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
0af7dbcd
Commit
0af7dbcd
authored
Jun 27, 2016
by
Thanassis Tsiodras
Browse files
Add coverage tests in main Makefile
parent
15527f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
0af7dbcd
PY_SRC
:=
$(
wildcard
dmt/asn2dataModel.py dmt/aadl2glueC.py dmt/smp2asn.py dmt/
*
mappers/[a-zA-Z]
*
py dmt/commonPy/[a-zA-Z]
*
py
)
PY_SRC
:=
$(
filter-out
dmt/B_mappers/antlr.main.py dmt/A_mappers/Stubs.py,
${PY_SRC}
)
all
:
flake8 pylint mypy
all
:
flake8 pylint mypy
coverage
flake8
:
@
echo
Performing syntax checks via flake8...
...
...
@@ -15,4 +15,8 @@ mypy:
@
echo
Performing
type
analysis via mypy...
@
mypy
--check-untyped-defs
${PY_SRC}
||
exit
1
coverage
:
@
echo
Performing coverage checks...
@
$(MAKE)
-C
tests-coverage
||
exit
1
.PHONY
:
flake8 pylint mypy
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment