mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 21:46:17 +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
|
TOXENV: coveralls
|
||||||
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
COVERALLS_GIT_BRANCH: ${{ steps.branch-name.outputs.branch }}
|
||||||
|
|
||||||
mypy:
|
linters:
|
||||||
name: Run mypy
|
name: Run linters
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
toxenv: [flake8, pydocstyle, mypy, pylint]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
@ -53,4 +56,4 @@ jobs:
|
||||||
- run: pip install tox
|
- run: pip install tox
|
||||||
- run: tox
|
- run: tox
|
||||||
env:
|
env:
|
||||||
TOXENV: mypy
|
TOXENV: ${{ matrix.toxenv }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user