File tree Expand file tree Collapse file tree 4 files changed +85
-7
lines changed
Expand file tree Collapse file tree 4 files changed +85
-7
lines changed Original file line number Diff line number Diff line change 3838 pipenv run pylint msgraphcore --disable=W --rcfile=.pylintrc
3939 - name : Test with unittest
4040 run : |
41- pipenv run coverage run -m unittest discover tests/unit
42- pipenv run coverage run -m unittest discover tests/integration
41+ pipenv run coverage run -m pytest tests/unit
42+ pipenv run coverage run -m pytest tests/integration
4343 pipenv run coverage html
Original file line number Diff line number Diff line change @@ -23,3 +23,17 @@ repos:
2323 language : system
2424 entry : pipenv run pylint msgraphcore --disable=W --rcfile=.pylintrc
2525 types : [python]
26+
27+ - id : pytest-unit
28+ name : pytest-unit
29+ stages : [commit]
30+ language : system
31+ entry : pipenv run coverage run -m pytest tests/unit
32+ types : [python]
33+
34+ - id : pytest-integration
35+ name : pytest-integration
36+ stages : [commit]
37+ language : system
38+ entry : pipenv run coverage run -m pytest tests/integration
39+ types : [python]
Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ isort = "==5.7.0"
1616yapf = " ==0.30.0"
1717mypy = " ==0.800"
1818pylint = " ==2.7.4"
19+ pytest = " *"
You can’t perform that action at this time.
0 commit comments