mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Create common linters job
This commit is contained in:
parent
784bb5fed2
commit
c6fb0bf018
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
|
@ -42,9 +42,12 @@ jobs:
|
|||
TOXENV: coveralls
|
||||
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
||||
|
||||
mypy:
|
||||
name: Run mypy
|
||||
linters:
|
||||
name: Run linters
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
toxenv: [flake8, pydocstyle, mypy, pylint]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
|
@ -53,4 +56,4 @@ jobs:
|
|||
- run: pip install tox
|
||||
- run: tox
|
||||
env:
|
||||
TOXENV: mypy
|
||||
TOXENV: ${{ matrix.toxenv }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user