Skip to content

Commit

Permalink
codecov file input
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed May 23, 2024
1 parent 74bdaa0 commit c402145
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-javascript-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
type: string
required: false
default: "./codecov.yml"
codecov-file:
description: "The path to the coverage file to upload."
type: string
required: false
default: "coverage/cobertura-coverage.xml"
secrets:
CODECOV_TOKEN:
description: "The token used to gain access to Codecov."
Expand Down Expand Up @@ -66,4 +71,4 @@ jobs:
slug: ${{ inputs.codecov-slug }}
codecov_yml_path: ${{ inputs.codecov-yml-path }}
working-directory: ${{ inputs.working-directory }}
file: coverage/coverage-final.json
file: ${{ inputs.codecov-file }}

0 comments on commit c402145

Please sign in to comment.