From ac9e7e7f20cb4d7c46c4bfe8ff0797d4ecb23902 Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Tue, 25 Aug 2020 18:07:17 +0200 Subject: [PATCH] Also run workflows on pull requests --- .github/workflows/php.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index fa540ea..fac1496 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,6 +1,12 @@ name: Unit tests -on: [push] +on: + push: + branches: + - 'master' + tags: + - '*' + pull_request: jobs: build: @@ -61,4 +67,4 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }} with: coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml - debug: true \ No newline at end of file + debug: true