ci: split linting steps
This commit is contained in:
parent
1d898cec0d
commit
96eba138d2
|
@ -23,8 +23,12 @@ jobs:
|
|||
uses: pdm-project/setup-pdm@v3
|
||||
- name: Install dependencies
|
||||
run: pdm install -d -G lint -G test
|
||||
- name: Test with tox
|
||||
run: pdm run tox -e pylint,mypy,bandit
|
||||
- name: Run pylint
|
||||
run: pdm run tox -e pylint
|
||||
- name: Run mypy
|
||||
run: pdm run tox -e mypy
|
||||
- name: Run bandit
|
||||
run: pdm run tox -e bandit
|
||||
|
||||
unit-tests:
|
||||
name: Unit tests
|
||||
|
@ -41,5 +45,5 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: pdm install -d -G test
|
||||
- name: Test with tox
|
||||
- name: Run unit tests
|
||||
run: pdm run tox
|
||||
|
|
Loading…
Reference in New Issue