Skip to content

Commit

Permalink
Removing tox from github test
Browse files Browse the repository at this point in the history
  • Loading branch information
r78v10a07 committed Sep 17, 2020
1 parent dfe5396 commit 6c09b3d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox flake8
pip install flake8
if [ -f requirements/test.txt ]; then pip install -r requirements/test.txt; fi
- name: Test with tox
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 src/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 src/ tests/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
tox
pytest
4 changes: 0 additions & 4 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@

pytest
pytest-cov
sphinx-argparse
mock
sphinx-rtd-theme

16 changes: 1 addition & 15 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,18 @@
# SHA1:6d4c9a6ffab8b2fa46a52aa17b0c622b8bdf93cd
# SHA1:93447d277520c0753780b9baa57da5383dde620e
#
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile-multi
#
-r base.txt
alabaster==0.7.12 # via sphinx
babel==2.8.0 # via sphinx
coverage==5.3 # via pytest-cov
imagesize==1.2.0 # via sphinx
iniconfig==1.0.1 # via pytest
mock==4.0.2 # via -r requirements/test.in
more-itertools==8.5.0 # via pytest
pluggy==0.13.1 # via pytest
py==1.9.0 # via pytest
pytest-cov==2.10.1 # via -r requirements/test.in
pytest==6.0.2 # via -r requirements/test.in, pytest-cov
snowballstemmer==2.0.0 # via sphinx
sphinx-argparse==0.2.5 # via -r requirements/test.in
sphinx-rtd-theme==0.5.0 # via -r requirements/test.in
sphinx==3.2.1 # via sphinx-argparse, sphinx-rtd-theme
sphinxcontrib-applehelp==1.0.2 # via sphinx
sphinxcontrib-devhelp==1.0.2 # via sphinx
sphinxcontrib-htmlhelp==1.0.3 # via sphinx
sphinxcontrib-jsmath==1.0.1 # via sphinx
sphinxcontrib-qthelp==1.0.3 # via sphinx
sphinxcontrib-serializinghtml==1.1.4 # via sphinx
toml==0.10.1 # via pytest

# The following packages are considered to be unsafe in a requirements file:
Expand Down

0 comments on commit 6c09b3d

Please sign in to comment.