Skip to content

Commit

Permalink
fix: add codecov token so that codecov can upload unit test data (#13283
Browse files Browse the repository at this point in the history
)

Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon committed May 15, 2024
1 parent c428dca commit 0288a4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-flow-build-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ jobs:
codacy-project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
gradle-cache-username: ${{ secrets.GRADLE_CACHE_USERNAME }}
gradle-cache-password: ${{ secrets.GRADLE_CACHE_PASSWORD }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/node-flow-pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
gradle-cache-username: ${{ secrets.GRADLE_CACHE_USERNAME }}
gradle-cache-password: ${{ secrets.GRADLE_CACHE_PASSWORD }}
codacy-project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}

eet-tests:
name: E2E Tests
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/node-zxc-compile-application-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ on:
codacy-project-token:
description: "The Codacy project token used to report code coverage."
required: false
codecov-token:
description: "The Codecov token used to report code coverage."
required: false

defaults:
run:
Expand Down Expand Up @@ -557,6 +560,8 @@ jobs:
- name: Publish To Codecov
if: ${{ inputs.enable-unit-tests && !cancelled() }}
uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0
env:
CODECOV_TOKEN: ${{ secrets.codecov-token }}

- name: Publish to Codacy
env:
Expand Down

0 comments on commit 0288a4b

Please sign in to comment.