File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ branch = true
3+ source =
4+ mplaltair
5+
6+ [report]
7+ exclude_lines =
8+ raise NotImplemented
9+ def __str__
10+ def __repr__
11+ if __name__ == .__main__.:
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ matrix:
1818
1919install :
2020 - python -m pip install --upgrade pip
21- - python -m pip install --upgrade codecov coverage
21+ - python -m pip install --upgrade codecov coverage pytest
2222 - python -m pip install -ve .
2323
2424script :
25- - coverage run python -m pytest
25+ - coverage run run_tests.py
2626 - coverage report -m
2727 - set -e
2828 - codecov
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+ import sys
3+ import pytest
4+
5+ if __name__ == '__main__' :
6+ sys .exit (pytest .main (sys .argv [1 :]))
You can’t perform that action at this time.
0 commit comments