Skip to content

Commit aeec1e3

Browse files
committed
Run code coverage only on push event
1 parent a16bbd4 commit aeec1e3

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
@@ -50,7 +50,8 @@ jobs:
5050
- name: Execute tests
5151
run: vendor/bin/phpunit --coverage-clover=coverage.xml
5252

53-
- name: Run Codacy Coverage Reporter
53+
- if: github.event_name == 'push'
54+
name: Run Codacy Coverage Reporter
5455
uses: codacy/codacy-coverage-reporter-action@master
5556
with:
5657
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)