Skip to content

Commit

Permalink
Cleanup dependencies for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Mar 11, 2024
1 parent b18c020 commit 97e7619
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ jobs:
python -m pip install flake8 nose
- name: Install package
run: |
python -m pip install . --only-binary=:all:
python -m pip install .[test] --only-binary=:all:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 verif scripts --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with nose
run: |
nosetests
coverage run --source verif -m unittest discover
coverage report --precision 2
14 changes: 0 additions & 14 deletions run_coveralls.py

This file was deleted.

4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@
# for example:
# $ pip install -e .[dev,test]
extras_require={
# 'dev': ['check-manifest'],
'test': ['coverage', 'pep8', 'pylint'],
'test': ['coverage', 'pep8', 'pylint', 'flake8'],
'cartopy': ['cartopy'],
# 'test': ['pytest'],
},

test_suite="verif.tests",
Expand Down

0 comments on commit 97e7619

Please sign in to comment.