Repository Config
checks:
python:
code_rating: true
duplicate_code: true
build:
dependencies:
before:
- pip install pytest pytest_cov jinja2 PyYAML
environment:
python: 3.6.3
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- py-scrutinizer-run
-
command: pylint-run
use_website_config: true
-
command: 'py.test --cov=ssg --cov=build-scripts --cov-append --cov-report=xml tests/unit/build-scripts'
environment: { PYTHONPATH: 'build-scripts:.' }
coverage:
file: '.coverage'
format: 'py-cc'
-
command: 'py.test --cov=ssg --cov=utils --cov-append --cov-report=xml tests/unit/utils'
environment: { PYTHONPATH: 'utils:.' }
coverage:
file: '.coverage'
format: 'py-cc'
-
command: 'py.test --cov=ssg --cov-append --cov-report=xml tests/unit/ssg-module'
environment: { PYTHONPATH: '.' }
coverage:
file: '.coverage'
format: 'py-cc'
-
command: 'py.test --cov=ssg --cov=tests --cov-append --cov-report=xml tests/unit/ssg_test_suite'
environment: { PYTHONPATH: 'tests:.' }
coverage:
file: '.coverage'
format: 'py-cc'
filter:
excluded_paths:
- '*/tests/unit/*'
dependency_paths:
- 'lib/*'