Skip to content

Commit bc59994

Browse files
committed
Make code coverage optional
1 parent 16f3c3b commit bc59994

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/django.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ on:
3232
required: False
3333
type: boolean
3434
default: False
35+
codeCoverage:
36+
required: false
37+
type: boolean
38+
default: true
3539
# Dependency manager config
3640
dependencyManager:
3741
required: False
@@ -97,6 +101,7 @@ jobs:
97101
${{ inputs.dependencyManager }} run coverage xml
98102
- name: Upload Code Coverage
99103
uses: codecov/codecov-action@v3
104+
if: ${{ inputs.codeCoverage }}
100105
with:
101106
token: ${{ secrets.CODECOV_TOKEN }}
102107
directory: ${{ inputs.path }}

0 commit comments

Comments
 (0)