mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
make template matching simpler
This commit is contained in:
15
.github/workflows/qc_checks.yaml
vendored
15
.github/workflows/qc_checks.yaml
vendored
@ -108,14 +108,7 @@ jobs:
|
|||||||
invoke static
|
invoke static
|
||||||
- name: Check HTML Files
|
- name: Check HTML Files
|
||||||
run: |
|
run: |
|
||||||
npx markuplint InvenTree/build/templates/build/*.html
|
npx markuplint **/templates/*.html
|
||||||
npx markuplint InvenTree/company/templates/company/*.html
|
|
||||||
npx markuplint InvenTree/order/templates/order/*.html
|
|
||||||
npx markuplint InvenTree/part/templates/part/*.html
|
|
||||||
npx markuplint InvenTree/stock/templates/stock/*.html
|
|
||||||
npx markuplint InvenTree/templates/*.html
|
|
||||||
npx markuplint InvenTree/templates/InvenTree/*.html
|
|
||||||
npx markuplint InvenTree/templates/InvenTree/settings/*.html
|
|
||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
name: pre-commit rules
|
name: pre-commit rules
|
||||||
@ -171,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
name: Sqlite + coverage
|
name: Sqlite + coverage
|
||||||
needs: ['javascript', 'html']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -215,7 +208,7 @@ jobs:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
name: Postgres
|
name: Postgres
|
||||||
needs: ['javascript', 'html']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
@ -274,7 +267,7 @@ jobs:
|
|||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
name: MySql
|
name: MySql
|
||||||
needs: ['javascript', 'html']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user