Skip to content

Commit

Permalink
add pylint to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Hynn01 committed Feb 8, 2022
1 parent eb5f27b commit 7ca415d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,14 @@ jobs:
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml --cov-fail-under=80
# - name: Run tests
# uses: dima-engineer/[email protected]
# with:
# cov-omit-list: tests/*
# cov-threshold-single: 85
# cov-threshold-total: 90
pytest --cov=./ --cov-report=xml --cov-fail-under=80
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: coverage.xml
fail_ci_if_error: true

# - name: Run pylint on dslinter source code
# run: pylint dslinter
- name: Run pylint on dslinter source code
run: pylint dslinter --fail-under=8

0 comments on commit 7ca415d

Please sign in to comment.