Skip to content

Commit 1f7eb32

Browse files
committed
No need to run pytest in lint
1 parent d0bbc1e commit 1f7eb32

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/lint_python.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: lint_python
2-
on: [pull_request, push]
1+
name: lint
2+
on: [pull_request, push, workflow_dispatch]
33
jobs:
44
pre-commit:
55
runs-on: ubuntu-latest
@@ -19,11 +19,9 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-python@v5
2121
- run: pip install --upgrade pip
22-
- run: pip install black codespell flake8 flake8-bugbear
23-
mypy pytest
22+
- run: pip install black codespell flake8 flake8-bugbear mypy
2423
- run: black --check . || true
2524
- run: codespell # --ignore-words-list="" --skip="*.css,*.js,*.lock"
2625
- run: pip install -r requirements.txt
2726
- run: mkdir --parents --verbose .mypy_cache
2827
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
29-
- run: pytest .

0 commit comments

Comments
 (0)