Skip to content

Commit aa19f59

Browse files
authored
Merge pull request #23 from 0xbigapple/feature/migrate_ci_4
ci: retrigger codecov
2 parents a8e0289 + d5476e1 commit aa19f59

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

.github/workflows/coverage-base-upload.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,14 @@ jobs:
6868
name: base-jacoco-xml
6969
path: coverage-artifacts
7070

71-
- name: Find coverage report
72-
id: find_report
73-
run: |
74-
report_path=$(find coverage-artifacts -name jacocoTestReport.xml)
75-
echo "report_path=${report_path}" >> "$GITHUB_OUTPUT"
76-
7771
- name: Show coverage files
78-
run: |
79-
echo "Found report at: ${{ steps.find_report.outputs.report_path }}"
80-
find coverage-artifacts -type f | sort
72+
run: find coverage-artifacts -type f | sort
8173

8274
- name: Upload base coverage to Codecov
8375
uses: codecov/codecov-action@v5
76+
working-directory: ./coverage-artifacts
8477
with:
8578
token: ${{ secrets.CODECOV_TOKEN }}
86-
files: ${{ steps.find_report.outputs.report_path }}
87-
disable_search: true
8879
override_branch: ${{ github.ref_name }}
8980
fail_ci_if_error: true
9081
verbose: true

.github/workflows/coverage-pr-upload-compare.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,9 @@ jobs:
5656
exit 1
5757
fi
5858
59-
- name: Find coverage report
60-
id: find_report
61-
run: |
62-
report_path=$(find coverage -name jacocoTestReport.xml)
63-
echo "report_path=${report_path}" >> "$GITHUB_OUTPUT"
64-
6559
- name: Show downloaded files
6660
shell: bash
6761
run: |
68-
echo "Found report at: ${{ steps.find_report.outputs.report_path }}"
6962
echo "Coverage files:"
7063
find coverage -type f | sort
7164
echo
@@ -81,10 +74,9 @@ jobs:
8174
8275
- name: Upload to Codecov
8376
uses: codecov/codecov-action@v5
77+
working-directory: ./coverage
8478
with:
8579
token: ${{ secrets.CODECOV_TOKEN }}
86-
files: ${{ steps.find_report.outputs.report_path }}
87-
disable_search: true
8880
override_commit: ${{ steps.pr.outputs.sha }}
8981
override_branch: ${{ steps.pr.outputs.branch }}
9082
override_pr: ${{ steps.pr.outputs.number }}

0 commit comments

Comments
 (0)