Skip to content

Commit 411fab3

Browse files
committed
Update template to not fail build by default if code-coverage is not met.
1 parent 7c4f588 commit 411fab3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ScriptModuleRepositoryTemplate/TemplateRepoFiles/.github/workflows/build-and-test-powershell-module.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ jobs:
9595
with:
9696
paths: code-coverage-jacoco.xml
9797
token: ${{ secrets.GITHUB_TOKEN }}
98-
min-coverage-overall: 60
99-
min-coverage-changed-files: 60
98+
# If you want to fail the build if the coverage is below a certain threshold, you can use the following options.
99+
# min-coverage-overall: 60
100+
# min-coverage-changed-files: 60
100101

101102
- name: Determine new version from Git tag and set environment variables
102103
shell: pwsh

0 commit comments

Comments
 (0)