Skip to content

Commit ae15d1d

Browse files
author
Hristo Valev
committed
ci fix
1 parent 97768fd commit ae15d1d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,28 @@ jobs:
1414
matrix:
1515
python-version: [3.8, 3.9, '3.10', '3.x']
1616
steps:
17-
- uses: actions/checkout@master
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
1820
- name: Setup Python Matrix
1921
uses: actions/setup-python@v5
2022
with:
2123
python-version: ${{ matrix.python-version }}
22-
- name: Install dependencies
24+
25+
- name: Install dependencies and pre-commit
2326
run: |
2427
python -m pip install --upgrade pip
2528
pip install .[dev]
26-
- name: Lint codebase
27-
run: |
28-
pylint py_markdown_table
29+
pip install pre-commit
30+
pre-commit install # Install pre-commit hooks
31+
32+
- name: Run pre-commit hooks
33+
run: pre-commit run --all-files
34+
2935
- name: Pytest and code coverage
3036
run: |
3137
pytest --cov=./py_markdown_table/ ./tests/tests.py --cov-report=xml
38+
3239
- name: Upload coverage to Codecov
3340
uses: codecov/codecov-action@v4
3441
with:

0 commit comments

Comments
 (0)