Skip to content

Commit

Permalink
FX publish code coverage only on master push (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleksandr Vasylenko <[email protected]>
  • Loading branch information
mente and Oleksandr Vasylenko authored Aug 4, 2021
1 parent a2c93c3 commit 93621c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" -w "${GITHUB_WORKSPACE}" php-avro-serde:${{ matrix.php.version }} \
vendor/bin/phpunit --exclude-group integration --coverage-clover=build/coverage.clover --coverage-text
- name: Publish code coverage
if: ${{ matrix.php.version == '7.4' && matrix.php.composer == '--prefer-stable' && github.repository == 'flix-tech/avro-serde-php' }}
if: ${{ matrix.php.version == '7.4' && matrix.php.composer == '--prefer-stable' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_REPORTER_ID}}
Expand Down

0 comments on commit 93621c3

Please sign in to comment.