Skip to content

Commit f836731

Browse files
committed
Do not run codacy on pull request
1 parent 541fccc commit f836731

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
pytest tests --cov moldrug --cov-report xml
5959
- name: Run codacy-coverage-reporter
6060
uses: codacy/codacy-coverage-reporter-action@v1.3.0
61-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
61+
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
6262
with:
6363
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
6464
coverage-reports: coverage.xml

0 commit comments

Comments
 (0)