This is an automated email from the ASF dual-hosted git repository.
panbingkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 793ad7c87b46 [SPARK-50633][FOLLOWUP] Turn on options `verbose` for
`codecov/codecov-action`
793ad7c87b46 is described below
commit 793ad7c87b46a8ad5fa77fa17c69dc9184224688
Author: panbingkun <[email protected]>
AuthorDate: Fri Jan 10 17:11:17 2025 +0800
[SPARK-50633][FOLLOWUP] Turn on options `verbose` for
`codecov/codecov-action`
### What changes were proposed in this pull request?
The pr aims to turn on options `verbose` for `codecov/codecov-action` to
identify issues.
### Why are the changes needed?
The issue is that I have added `token: ${{ secrets.CODECOV_TOKEN }}` in the
configuration, but the workflow does not display it like the below:
<img width="593" alt="image"
src="https://github.com/user-attachments/assets/6795f472-d144-40bb-aaf1-8294435201da"
/>
Furthermore, the workflow below was not successful.
https://github.com/apache/spark/actions/runs/12705043568/job/35415465795
<img width="623" alt="image"
src="https://github.com/user-attachments/assets/9e88f5f9-fa28-4411-9099-2aed23aaa3bf"
/>
<img width="832" alt="image"
src="https://github.com/user-attachments/assets/6b9fc620-263d-4bdf-a039-64b369d8bc68"
/>
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #49438 from panbingkun/improve_codecov.
Authored-by: panbingkun <[email protected]>
Signed-off-by: panbingkun <[email protected]>
---
.github/workflows/build_and_test.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index c3c83c67c140..d133b74da7cd 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -621,10 +621,11 @@ jobs:
if: fromJSON(inputs.envs).PYSPARK_CODECOV == 'true'
uses: codecov/codecov-action@v5
with:
- token: ${{ secrets.CODECOV_TOKEN }}
files: ./python/coverage.xml
+ token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
name: PySpark
+ verbose: true
- name: Upload test results to report
env: ${{ fromJSON(inputs.envs) }}
if: always()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]