Skip to content

Commit

Permalink
add code inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato committed Jul 11, 2020
1 parent a8d78d3 commit c934f6a
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ jobs:
pip install coveralls pytest-cov
pytest --cov=Hologram tests/
coveralls
- name: Check code meets quality standards
id: code-inspector
uses: codeinspectorio/github-action@master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }}
code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }}
min_quality_grade: 'WARNING'
min_quality_score: '50'
max_defects_rate: '0.0001'
max_complex_functions_rate: '0.0001'
max_long_functions_rate: '0.0001'
project_name: ''
max_timeout_sec: '600'

0 comments on commit c934f6a

Please sign in to comment.