2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

Add seperate docstring test

This commit is contained in:
Matthias
2022-05-27 21:29:15 +02:00
parent 13c6b29bb3
commit 80d0d38350

View File

@ -168,6 +168,27 @@ jobs:
invoke check-server
coverage run -m unittest discover -s test/
docstyle:
name: Python Style (Docstrings)
needs: pre-commit
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ env.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.python_version }}
cache: 'pip'
- name: Install Dependencies
run: |
pip3 install invoke
invoke install
- name: flake8
run: |
flake8 InvenTree
coverage:
name: Tests + Coverage [SQLite]
needs: ['javascript', 'html', 'pre-commit']