From 6ba7c59f5387910107fbead690b5e5e94a597cd2 Mon Sep 17 00:00:00 2001 From: Remco Koopmans Date: Tue, 20 Sep 2022 14:00:38 +0200 Subject: [PATCH] Only run integration tests on push --- .github/workflows/ci-cd.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 179cdc2..b099c92 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -1,5 +1,5 @@ --- -name: CI_CD +name: PHP CI/CD on: [push, pull_request] @@ -32,6 +32,7 @@ jobs: - name: Run test suite run: vendor/bin/phpunit Integration_tests: + if: github.event_name == 'push' runs-on: ${{ matrix.os }} timeout-minutes: 10 needs: Unit_tests