Skip to content

Commit 70a0964

Browse files
committed
Run code coverage only on push event
1 parent e30fc1e commit 70a0964

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
- name: Execute tests
6363
run: vendor/bin/phpunit --coverage-clover=coverage.xml
6464

65-
- name: Run Codacy Coverage Reporter
65+
- if: github.event_name == 'push'
66+
name: Run Codacy Coverage Reporter
6667
uses: codacy/codacy-coverage-reporter-action@master
6768
with:
6869
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)