File tree Expand file tree Collapse file tree 3 files changed +30
-9
lines changed
Expand file tree Collapse file tree 3 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 9999 name : Run test suite
100100 command : >-
101101 pipenv
102- run pytest tests
103- --showlocals
104- --durations=10
105- -n auto
106- --cov=sshtunnel
107- --cov-report=html:test_results/coverage.html
108- --cov-report=term
109- --junit-xml=test_results/report.xml
102+ run pytest
110103 - run :
111104 name : Move coverage file
112105 command : |
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [" setuptools" , " wheel" ]
33build-backend = " setuptools.build_meta:__legacy__"
4+
5+ [tool ]
6+
7+ [tool .pytest ]
8+ addopts = [
9+ " -n auto" ,
10+ " --showlocals" ,
11+ " --durations=10" ,
12+ " --cov=sshtunnel" ,
13+ " --cov-report=term" ,
14+ " --cov-report=html:test_results/coverage.html" ,
15+ " --junit-xml=test_results/report.xml" ,
16+ ]
17+ testpaths = [
18+ " tests" ,
19+ ]
20+
21+ [tool .coverage ]
22+
23+ [tool .coverage .run ]
24+ branch = true
25+ relative_files = true
26+
27+ [tool .coverage .report ]
28+ exclude_also = [
29+ ' if __name__ == "__main__":' ,
30+ " main\\ (\\ )" ,
31+ ]
Original file line number Diff line number Diff line change 11coveralls
22mock
3- pytest >= 4
3+ pytest >= 6
44pytest-cov
55pytest-xdist
66setuptools
You can’t perform that action at this time.
0 commit comments