poetry check as separate job

This commit is contained in:
Dmitry Afanasyev 2025-01-11 14:16:29 +03:00
parent 7ece8be1ca
commit 919d07cada

View File

@ -59,12 +59,18 @@ jobs:
poetry install --no-interaction --no-ansi --no-root poetry install --no-interaction --no-ansi --no-root
poetry run pip install -U pip poetry run pip install -U pip
#---------------------------------------------- #----------------------------------------------
# check poetry file
#----------------------------------------------
- name: Poetry consistency check
continue-on-error: true
run: |
poetry check
#----------------------------------------------
# check dependencies # check dependencies
#---------------------------------------------- #----------------------------------------------
- name: Extended checks - name: Extended checks
continue-on-error: true continue-on-error: true
run: | run: |
poetry run poetry check
poetry run pip check poetry run pip check
poetry run safety check --full-report poetry run safety check --full-report
poetry run pip-audit poetry run pip-audit