From 37ce9f351daa1ca7bb301d035481744ba712cd34 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 11 May 2022 14:15:44 +1000 Subject: [PATCH] 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 --- .github/workflows/qc_checks.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index b1067c4bbd..00bc7dbf4c 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -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