Skip to content

Commit

Permalink
Add further debug steps to understand where coverage-report from ci.y…
Browse files Browse the repository at this point in the history
…ml is being uploaded.
  • Loading branch information
afinetooth committed Oct 1, 2024
1 parent e898eae commit fad578b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ jobs:
- name: Display coverage summary
run: cat ./test/coverage_summary.txt

# # Download the coverage report generated from ci.yml
- name: Download latest coverage summary
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: ci.yml
name: coverage-report
path: ./test/
search_artifacts: true
check_artifacts: true
if_no_artifact_found: warn

- name: List files in ./test/ directory
run: ls -al ./test/

# # Download the coverage report generated from ci.yml
# - name: Download coverage report
# uses: actions/download-artifact@v4
Expand Down Expand Up @@ -212,21 +227,6 @@ jobs:
binary=test/coveralls-linux-aarch64
COVERALLS_SERVICE_NUMBER=rc-aarch64-${{ github.run_id }} qemu-aarch64 $binary report --measure --base-path src/coverage_reporter/
# # Download the coverage report generated from ci.yml
- name: Download latest coverage summary
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: ci.yml
name: coverage-report
path: ./test/
search_artifacts: true
check_artifacts: true
if_no_artifact_found: warn

- name: List files in test/ directory
run: ls -al ./test/

# # Report coverage with aarch64 binary
# - name: Report coverage with aarch64 binary
# env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
cd coverage
../bin/coveralls report --measure --base-path src/coverage_reporter/
- name: List contents of coverage/ directory
run: ls -la coverage/

- name: List contents of coverage/ directory
run: ls -la ${{ github.workspace }}/coverage/

- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit fad578b

Please sign in to comment.