File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,21 @@ jobs:
14
14
python-version : " 3.9"
15
15
- name : Run test cases without internet to verify no offline test failures
16
16
run : |
17
- pip install coverage pytest pytest-cov setuptools PySocks numpy
17
+ pip install coverage pytest pytest-cov setuptools PySocks
18
18
python -c "import setuptools; print('Setup tools version'); print(setuptools.__version__)"
19
19
python setup.py install
20
- pytest -vrP --cov=websocket websocket/tests
20
+ pytest -vrP --cov=websocket websocket/tests --cov-config=.coveragerc
21
21
coverage report
22
- - name : Run test cases for coverage collection
22
+ - name : Run test_abnf.py without numpy
23
23
run : |
24
- pytest -vrP --cov=websocket websocket/tests --cov-config=.coveragerc
24
+ pip uninstall numpy
25
+ pytest -vrP --cov=websocket websocket/tests/test_abnf.py --cov-config=.coveragerc --cov-append
25
26
env :
26
27
TEST_WITH_INTERNET : 1
27
- - name : Run test_abnf.py without numpy and append to coverage
28
+ - name : Install numpy, then run test cases for coverage collection
28
29
run : |
29
- pip uninstall numpy
30
- pytest -vrP --cov=websocket websocket/tests/test_abnf.py --cov-config=.coveragerc --cov-append
30
+ pip install numpy
31
+ pytest -vrP --cov=websocket websocket/tests --cov-config=.coveragerc --cov-append
31
32
env :
32
33
TEST_WITH_INTERNET : 1
33
34
- name : Run with extra environment variable and create report
You can’t perform that action at this time.
0 commit comments