mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
postgresql and mysql checks only run on push
- sqlite and coverage still runs on pull_request - should speed up CI checks / reduce redundant CI server load
This commit is contained in:
parent
96ee235563
commit
37ce9f351d
3
.github/workflows/qc_checks.yaml
vendored
3
.github/workflows/qc_checks.yaml
vendored
@ -196,6 +196,7 @@ jobs:
|
|||||||
name: Postgres
|
name: Postgres
|
||||||
needs: ['javascript', 'html']
|
needs: ['javascript', 'html']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
on: github.event_name == 'push'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
INVENTREE_DB_ENGINE: django.db.backends.postgresql
|
INVENTREE_DB_ENGINE: django.db.backends.postgresql
|
||||||
@ -253,6 +254,8 @@ jobs:
|
|||||||
name: MySql
|
name: MySql
|
||||||
needs: ['javascript', 'html']
|
needs: ['javascript', 'html']
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
on: github.event_name == 'push'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Database backend configuration
|
# Database backend configuration
|
||||||
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
||||||
|
Loading…
Reference in New Issue
Block a user