1
0
Fork 0

ci: split linting steps

This commit is contained in:
Maurizio Porrato 2023-08-19 12:33:32 +01:00
parent 1d898cec0d
commit 96eba138d2
1 changed files with 7 additions and 3 deletions

View File

@ -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