File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 python-version : ${{ matrix.python-version }}
4444 architecture : x64
4545
46- - name : Setup Package and Install Devel Dependancies
47- run : |
48- python -m pip install .
49- python -m pip install -Ur dev-requirements.txt
46+ - name : Install nox
47+ run : python -m pip install nox
5048
51- - name : Unit Tests
52- run : py.test tests -v
49+ - name : Run nox
50+ run : nox
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ coverage.xml
4646* .cover
4747.hypothesis /
4848.pytest_cache /
49+ .nox
4950
5051# Translations
5152* .mo
@@ -102,3 +103,4 @@ venv.bak/
102103
103104# mypy
104105.mypy_cache /
106+ .idea /
Original file line number Diff line number Diff line change 1+ import nox
2+
3+
4+ @nox .session
5+ def run_tests (session ):
6+ session .install ("-r" , "dev-requirements.txt" )
7+ session .install ("-e" , "." )
8+ session .run ("pytest" , "tests" )
You can’t perform that action at this time.
0 commit comments