Skip to content

Commit

Permalink
Dev cov (tableau#394)
Browse files Browse the repository at this point in the history
* Collect test coverage with scrutinizer instead of coveralls

* Restore coverage collecting with coveralls

* Update scrutinizer settings

* Add support for Python 3.8

* Fix static page and add unit test for it

* Delete obsolete test

* Restore scrutinizer configuration
  • Loading branch information
0golovatyi authored Jan 11, 2020
1 parent 06a98ee commit 0703f68
Showing 1 changed file with 23 additions and 37 deletions.
60 changes: 23 additions & 37 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,23 @@
build:
environment:
python: 3.6
tests:
before:
- pip install pytest pytest-cov coverage
- pip install -r requirements.txt
nodes:
analysis:
project_setup:
override:
- pip install sklearn pandas numpy textblob nltk scipy
tests:
override:
- py-scrutinizer-run
- command: pylint-run
use_website_config: true
coverage:
tests:
before:
- pip install pytest pytest-cov coverage coveralls
- pip install -r requirements.txt
override:
- command: pytest tests --cov=tabpy
coverage:
file: '.coverage'
config_file: '.coveragerc'
format: 'py-cc'
checks:
python:
code_rating: true
duplicate_code: true
filter:
excluded_paths:
- '*/test/*'
dependency_paths:
- 'lib/*'
build:
environment:
python: 3.8
nodes:
analysis:
project_setup:
override:
- pip install sklearn pandas numpy textblob nltk scipy
tests:
override:
- py-scrutinizer-run
- command: pylint-run
use_website_config: true
tests: true
checks:
python:
code_rating: true
duplicate_code: true
filter:
excluded_paths:
- '*/test/*'
dependency_paths:
- 'lib/*'

0 comments on commit 0703f68

Please sign in to comment.