Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylint check to PR #707

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added lint check to PR checks.
  • Loading branch information
DanielAvdar committed Feb 12, 2024
commit 2843e122186db4a07b6b7174ec26a80c16c9369f
19 changes: 17 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests
on: [ push,pull_request ]

jobs:
build:
tests:

runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -44,4 +44,19 @@ jobs:
- name: Test with pytest
run: |
pytest tests --cov=supervised/
continue-on-error: true
continue-on-error: true
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python "3.10"
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint ./supervised --fail-under=7