Skip to content

Commit

Permalink
[SPARK-50633][FOLLOWUP] Let CODECOV_TOKEN transfer to build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
panbingkun committed Jan 16, 2025
1 parent d12bb23 commit 89bc7e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ on:
required: false
type: string
default: ''
secrets:
codecov_token:
description: The upload token of codecov.
required: false
jobs:
precondition:
name: Check changes
Expand Down Expand Up @@ -623,7 +627,7 @@ jobs:
if: fromJSON(inputs.envs).PYSPARK_CODECOV == 'true'
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ secrets.codecov_token }}
with:
files: ./python/coverage.xml
flags: unittests
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ jobs:
{
"pyspark": "true"
}
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
packages: write
name: Run
uses: ./.github/workflows/build_and_test.yml
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 89bc7e7

Please sign in to comment.