Skip to content

Commit 93621c3

Browse files
menteOleksandr Vasylenko
andauthored
FX publish code coverage only on master push (#59)
Co-authored-by: Oleksandr Vasylenko <[email protected]>
1 parent a2c93c3 commit 93621c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
-v "${GITHUB_WORKSPACE}":"${GITHUB_WORKSPACE}" -w "${GITHUB_WORKSPACE}" php-avro-serde:${{ matrix.php.version }} \
149149
vendor/bin/phpunit --exclude-group integration --coverage-clover=build/coverage.clover --coverage-text
150150
- name: Publish code coverage
151-
if: ${{ matrix.php.version == '7.4' && matrix.php.composer == '--prefer-stable' && github.repository == 'flix-tech/avro-serde-php' }}
151+
if: ${{ matrix.php.version == '7.4' && matrix.php.composer == '--prefer-stable' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
152152
uses: paambaati/[email protected]
153153
env:
154154
CC_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_REPORTER_ID}}

0 commit comments

Comments
 (0)