-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish a consolidated JaCoCo report from multiple subprojects and split test jobs #3147
Conversation
Add another top-level report task to combine them.
* `pull_request` test jobs also publish JaCoCo `.exec` artifacts. * `pull_request_coverage` runs in head branch and generated combined JaCoCo report from those. * `pull_request_comment` runs in target branch and adds comment form that.
- name: Checkout sources | ||
uses: actions/checkout@v4.2.2 | ||
- name: Setup Base Environment | ||
uses: ./actions/setup-base-env | ||
- name: Setup FDB | ||
uses: ./actions/setup-fdb | ||
- name: Run Gradle Test | ||
uses: ./actions/gradle-test | ||
with: | ||
gradle_command: :fdb-record-layer-core:test :fdb-record-layer-core:destructiveTest | ||
gradle_args: -PreleaseBuild=false -PpublishBuild=false | ||
- name: Publish Test Reports | ||
if: always() | ||
uses: actions/upload-artifact@v4.6.0 | ||
with: | ||
name: core-test-reports | ||
path: | | ||
test-reports/fdb-record-layer-core/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusting indentation to match the rest of the file.
|
|
|
I noticed that all of the comments are being sent to FoundationDB#3147, the change which introduced `pull_request_comments.yml`, which I think is a mistake. To avoid that, this tries to use a job within the PR
I noticed that all of the comments are being sent to FoundationDB#3147, the change which introduced `pull_request_comments.yml`, which I think is a mistake. To avoid that, this tries to use a job within the PR
|
1 similar comment
|
.exec
files out of both-test
jobs.pull-request
workflow job that downloads those artifacts and generates a report.workflow_run
workflow (needed to getpull_request
commenting access) to use that report.