add docstring test

This commit is contained in:
Matthias 2022-05-28 00:35:04 +02:00
parent 9c80be52b3
commit 892181ea75
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -125,6 +125,21 @@ jobs:
invoke check-server invoke check-server
coverage run -m unittest discover -s test/ coverage run -m unittest discover -s test/
docstyle:
name: Style [Python Docstrings]
runs-on: ubuntu-20.04
needs: pre-commit
continue-on-error: true
steps:
- name: Enviroment Setup
uses: inventree/inventree/.github/actions/setup@master
with:
install: true
- name: flake8
run: flake8 InvenTree
coverage: coverage:
name: Tests - DB [SQLite] + Coverage name: Tests - DB [SQLite] + Coverage
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04