Merge pull request #859 from tsteven4/checkcov

restrict coverage reports to master branch
This commit is contained in:
Hiroshi Miura
2024-12-19 08:14:41 +09:00
committed by GitHub

View File

@@ -44,6 +44,7 @@ jobs:
distribution: 'temurin' distribution: 'temurin'
java-version: '21' java-version: '21'
- name: Send coverage to codacy - name: Send coverage to codacy
if: ( github.event_name == 'push' ) && ( github.ref == 'refs/heads/master' )
run: | run: |
java -jar ci/codacy-coverage-reporter-assembly.jar report -l Python -t ${PROJECT_TOKEN} -r cobertura.xml java -jar ci/codacy-coverage-reporter-assembly.jar report -l Python -t ${PROJECT_TOKEN} -r cobertura.xml
env: env: