Skip to content

Commit

Permalink
FIX: set CODECOV_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 10, 2025
1 parent 7ca4f88 commit e33cb82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
pytest:
uses: ComPWA/actions/.github/workflows/[email protected]
with:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
coverage-target: compwa_policy
macos-python-version: "3.9"
specific-pip-packages: ${{ inputs.specific-pip-packages }}
Expand Down
1 change: 1 addition & 0 deletions src/compwa_policy/check_dev_files/github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def __update_pytest_section(
with_section["additional-extras"] = " ".join(test_extras)
if CONFIG_PATH.codecov.exists():
with_section["coverage-target"] = __get_package_name()
with_section["CODECOV_TOKEN"] = "${{ secrets.CODECOV_TOKEN }}" # noqa: S105
if not no_macos:
with_section["macos-python-version"] = DoubleQuotedScalarString("3.9")
if skip_tests:
Expand Down

0 comments on commit e33cb82

Please sign in to comment.