mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add seperate docstring test
This commit is contained in:
parent
13c6b29bb3
commit
80d0d38350
21
.github/workflows/qc_checks.yaml
vendored
21
.github/workflows/qc_checks.yaml
vendored
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user