Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
Signed-off-by: Mihail Mihov <[email protected]>
  • Loading branch information
mishomihov00 committed Dec 6, 2024
1 parent 2dd0a61 commit 4029e8e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/zxf-dry-run-extended-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ jobs:
- name: Resolve coverage file paths
id: coverage_paths
run: |
echo "COVERAGE_REPORTS=$(find . -path './hapi/build/test-results/test/*' -name 'TEST-com.hedera.hapi.block.stream.input.tests.EventHeaderTest.xml' | tr '\n' ',')" >> $GITHUB_ENV
echo "COVERAGE_REPORTS=$(find . -path './downloaded_artifacts/hapi/build/test-results/test/*' | tr '\n' ',')" >> $GITHUB_ENV
- name: Publish to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
pwd
ls -la /home/runner/_work/hedera-services/hedera-services/downloaded_artifacts/hapi/build/test-results/test
source <(curl -Ls https://coverage.codacy.com/get.sh) report -l Java -r downloaded_artifacts/hapi/build/test-results/test/TEST-com.hedera.hapi.block.stream.input.tests.EventHeaderTest.xml
# - name: Publish to Codacy
# env:
# CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
# run: |
# pwd
# ls -la /home/runner/_work/hedera-services/hedera-services/downloaded_artifacts/hapi/build/test-results/test
# source <(curl -Ls https://coverage.codacy.com/get.sh) report -l Java -r downloaded_artifacts/hapi/build/test-results/test/TEST-com.hedera.hapi.block.stream.input.tests.EventHeaderTest.xml

# - name: Publish to codacy
# uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
# with:
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# coverage-reports: ${{ env.COVERAGE_REPORTS }}
# language: Java
- name: Publish to codacy
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ env.COVERAGE_REPORTS }}
language: Java
# coverage-reports: '*/build/test-results/test/TEST-*.xml'

# abbreviated-panel:
Expand Down

0 comments on commit 4029e8e

Please sign in to comment.