File tree Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,23 @@ jobs:
3030 with :
3131 mongodb-version : ${{ matrix.mongodb-version }}
3232 - name : Install Package
33+ run : |
34+ python -m pip install --upgrade pip
35+ pip install .
36+ - name : Install test dependencies
37+ run : |
38+ python -m pip install --upgrade pip
39+ pip install .[test]
40+ - name : Test with pytest
41+ run : |
42+ make test
43+ - name : Install development dependencies
3344 run : |
3445 python -m pip install --upgrade pip
3546 pip install .[dev]
3647 - name : Lint with flake8
3748 run : |
3849 make lint
39- - name : Test with py.test (flask)
50+ - name : Test with pytest
4051 run : |
41- make test-server
52+ make test
Original file line number Diff line number Diff line change @@ -8,20 +8,16 @@ python =
88
99
1010[testenv]
11+ passenv = CI TRAVIS TRAVIS_*
1112setenv =
1213 PYTHONPATH = {toxinidir}
13- extras = dev
14+ extras = test
1415commands =
15- ; /usr/bin/env make test
16- ; py.test -n 2 --basetemp={envtmpdir} ./tests
17- /usr/bin/env py.test -n 2 --basetemp ={envtmpdir} ./tests
16+ /usr/bin/env make test
1817
1918
2019[testenv:lint]
21- deps =
22- flake8
23- isort
20+ skipsdist = true
21+ extras = dev
2422commands =
25- ; make lint
2623 /usr/bin/env make lint
27-
You can’t perform that action at this time.
0 commit comments