mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
Add pre-commit to the stack
This commit is contained in:
11
.github/workflows/qc_checks.yaml
vendored
11
.github/workflows/qc_checks.yaml
vendored
@ -117,9 +117,18 @@ jobs:
|
|||||||
npx markuplint InvenTree/templates/InvenTree/*.html
|
npx markuplint InvenTree/templates/InvenTree/*.html
|
||||||
npx markuplint InvenTree/templates/InvenTree/settings/*.html
|
npx markuplint InvenTree/templates/InvenTree/settings/*.html
|
||||||
|
|
||||||
|
pre-commit:
|
||||||
|
name: pre-commit rules are followed
|
||||||
|
needs: pep_style
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
- uses: pre-commit/action@v2.0.3
|
||||||
|
|
||||||
python:
|
python:
|
||||||
name: python bindings
|
name: python bindings
|
||||||
needs: pep_style
|
needs: pre-commit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user