mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
Update pylint.yml
Added testing to the workflow
This commit is contained in:
8
.github/workflows/pylint.yml
vendored
8
.github/workflows/pylint.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Pylint
|
name: Lint and Test
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@@ -18,7 +18,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pylint
|
pip install pylint
|
||||||
pip install tqdm
|
pip install .
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
pylint $(git ls-files '*.py')
|
pylint $(git ls-files '*.py')
|
||||||
|
- name: Testing with unittest
|
||||||
|
run: |
|
||||||
|
python -m unittest tests
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user