Skip to content

Commit 502af5a

Browse files
committed
Run code coverage only on push event
1 parent 92bde29 commit 502af5a

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
env:
6363
DB_PORT: ${{ job.services.mysql.ports[3306] }}
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)