Merge pull request #2968 from SchrodingersGat/ci-simplification

postgresql and mysql checks only run on push
This commit is contained in:
Oliver 2022-05-11 14:41:57 +10:00 committed by GitHub
commit f4e3abd44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,7 @@ jobs:
name: Postgres
needs: ['javascript', 'html']
runs-on: ubuntu-latest
if: 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
if: github.event_name == 'push'
env:
# Database backend configuration
INVENTREE_DB_ENGINE: django.db.backends.mysql