mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add pre-commit to the stack
This commit is contained in:
parent
09a4fab0d6
commit
d48500dbb5
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/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:
|
||||
name: python bindings
|
||||
needs: pep_style
|
||||
needs: pre-commit
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user