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:
Oliver 2022-05-11 14:15:44 +10:00
parent 96ee235563
commit 37ce9f351d

View File

@ -196,6 +196,7 @@ jobs:
name: Postgres
needs: ['javascript', 'html']
runs-on: ubuntu-latest
on: github.event_name == 'push'
env:
INVENTREE_DB_ENGINE: django.db.backends.postgresql
@ -253,6 +254,8 @@ jobs:
name: MySql
needs: ['javascript', 'html']
runs-on: ubuntu-latest
on: github.event_name == 'push'
env:
# Database backend configuration
INVENTREE_DB_ENGINE: django.db.backends.mysql