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