Skip to content

Commit 31a7e37

Browse files
HexDecimalkvas-it
authored andcommitted
Move linting to a separate job
`check-manifest` does not work on PyPy on Windows Linting rules are redundant if checked more than once
1 parent bb6d415 commit 31a7e37

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ on:
77
pull_request:
88

99
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Install Tox
15+
run: pip install tox
16+
- name: Lint with tox
17+
run: tox run -e lint
18+
1019
tests:
1120
runs-on: ${{ matrix.os }}
1221
strategy:
@@ -22,10 +31,9 @@ jobs:
2231
python-version: ${{ matrix.python-version }}
2332
- name: Install dependencies
2433
run: |
25-
python -m pip install --upgrade pip
2634
pip install tox
2735
- name: Test with tox
28-
run: tox run -e py,report_ci,lint
36+
run: tox run -e py,report_ci
2937
- uses: codecov/codecov-action@v4
3038
with:
3139
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)