mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 11:53:55 +02:00
Excluded ipynb files from json pretty formatter + poetry update (#50)
* Excluded ipynb files from json pretty formatter + poetry update * Reworked pip audit * Relocated dependencies * Reworked the tests a bit. * Poetry update * Excluded lint and test workflows against the target branch
This commit is contained in:
13
.github/workflows/lint-actions.yaml
vendored
13
.github/workflows/lint-actions.yaml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
- run: poetry install --without develop,doc
|
||||
- name: Run linters
|
||||
run: |
|
||||
mypy src tests
|
||||
mypy src tests --install-types --non-interactive
|
||||
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
@ -85,8 +85,8 @@ jobs:
|
||||
run: poetry export -f requirements.txt --output requirements.txt
|
||||
- name: Check license
|
||||
run: |
|
||||
poetry run pip install pip-licenses
|
||||
poetry run pip-licenses --format=markdown --output-file=license-summary.md
|
||||
pip install pip-licenses
|
||||
pip-licenses --format=markdown --output-file=license-summary.md
|
||||
- name: Archive license summary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@ -95,6 +95,7 @@ jobs:
|
||||
license-summary.md
|
||||
requirements.txt
|
||||
- name: Check requirements security with pip-audit
|
||||
uses: pypa/gh-action-pip-audit@v1.0.0
|
||||
with:
|
||||
inputs: requirements.txt
|
||||
run: |
|
||||
pip install pip-audit
|
||||
pip-audit -r requirements.txt --no-deps --disable-pip || true
|
||||
pip-audit -r requirements.txt --format=markdown --output=lbr-audit.md --no-deps --disable-pip
|
||||
|
Reference in New Issue
Block a user