mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add docstring test
This commit is contained in:
parent
9c80be52b3
commit
892181ea75
15
.github/workflows/qc_checks.yaml
vendored
15
.github/workflows/qc_checks.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user