Skip to content

Commit 3657749

Browse files
committed
run some tests, just not the broken one
1 parent fde6b13 commit 3657749

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

.github/workflows/pylint.yml

+23-19
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,26 @@ name: Pylint
22

33
on: [push]
44

5-
#jobs:
6-
# build:
7-
# runs-on: ubuntu-latest
8-
# strategy:
9-
# matrix:
10-
# python-version: ["3.8", "3.9", "3.10"]
11-
# steps:
12-
# - uses: actions/checkout@v4
13-
# - name: Set up Python ${{ matrix.python-version }}
14-
# uses: actions/setup-python@v3
15-
# with:
16-
# python-version: ${{ matrix.python-version }}
17-
# - name: Install dependencies
18-
# run: |
19-
# python -m pip install --upgrade pip
20-
# pip install pylint
21-
# - name: Analysing the code with pylint
22-
# run: |
23-
# pylint $(git ls-files '*.py')
5+
jobs:
6+
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.8", "3.9", "3.10"]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install pylint mysqlclient
22+
- name: Check for compile errors with pylint
23+
run: |
24+
pylint -E $(git ls-files '*.py')
25+
#- name: Full code analysis with pylint
26+
# run: |
27+
# pylint $(git ls-files '*.py')

0 commit comments

Comments
 (0)