mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
refactor names to be similar
This commit is contained in:
parent
e56a75e255
commit
0bbe8586bf
16
.github/workflows/qc_checks.yaml
vendored
16
.github/workflows/qc_checks.yaml
vendored
@ -28,7 +28,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pep_style:
|
pep_style:
|
||||||
name: python style (PEP8)
|
name: Python Style (PEP8)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
flake8 InvenTree
|
flake8 InvenTree
|
||||||
|
|
||||||
javascript:
|
javascript:
|
||||||
name: JS template files
|
name: JS Template Files
|
||||||
needs: pep_style
|
needs: pep_style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ jobs:
|
|||||||
npx eslint js_tmp/*.js
|
npx eslint js_tmp/*.js
|
||||||
|
|
||||||
html:
|
html:
|
||||||
name: HTML template files
|
name: HTML Template Files
|
||||||
needs: pep_style
|
needs: pep_style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ jobs:
|
|||||||
npx markuplint **/templates/*.html
|
npx markuplint **/templates/*.html
|
||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
name: pre-commit rules
|
name: pre-commit
|
||||||
needs: pep_style
|
needs: pep_style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -128,7 +128,7 @@ jobs:
|
|||||||
- uses: pre-commit/action@v2.0.3
|
- uses: pre-commit/action@v2.0.3
|
||||||
|
|
||||||
python:
|
python:
|
||||||
name: inventree-python tests
|
name: Test inventree-python
|
||||||
needs: pre-commit
|
needs: pre-commit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -168,7 +168,7 @@ jobs:
|
|||||||
coverage run -m unittest discover -s test/
|
coverage run -m unittest discover -s test/
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
name: Sqlite + coverage
|
name: Tests + Coverage [SQLite]
|
||||||
needs: ['javascript', 'html', 'pre-commit']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ jobs:
|
|||||||
run: coveralls
|
run: coveralls
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
name: Postgres
|
name: Tests [PostgreSQL]
|
||||||
needs: ['javascript', 'html', 'pre-commit']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
@ -279,7 +279,7 @@ jobs:
|
|||||||
invoke import-records -f data.json
|
invoke import-records -f data.json
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
name: MySql
|
name: Tests [MySQL]
|
||||||
needs: ['javascript', 'html', 'pre-commit']
|
needs: ['javascript', 'html', 'pre-commit']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
Loading…
Reference in New Issue
Block a user