forked from dsccommunity/DscResource.Common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests are now running using Pester 5 (dsccommunity#41)
* Update unit tests to support Pester 5 * Update build.yaml * Fix typo in CHANGELOG.md * Update CHANGELOG.md * Fix unit test * Hard-code module name prior to sending in Pester issue * Fix failing unit test * Add removal of stub module in AfterAll * Improve test * Add comment * Update comment * Update tests * Update more tests * Update the rest of the tests * Fix unit test after rebase * Fix unit test * Fix HQRM tests * Fix for codecov.io * Fix QA test * Set code coverage threshold * Lower code coverage threshold a tiny bit for Linux and macOS * Fix formatting in QA test * Fix review comments at r5 * Fix missed review comments
- Loading branch information
Showing
29 changed files
with
4,425 additions
and
3,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
codecov: | ||
require_ci_to_pass: no | ||
# main should be the baseline for reporting | ||
branch: main | ||
|
||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
|
||
coverage: | ||
range: 50..80 | ||
round: down | ||
precision: 0 | ||
|
||
status: | ||
project: | ||
default: | ||
# Set the overall project code coverage requirement to 70% | ||
target: 70 | ||
patch: | ||
default: | ||
# Set the pull request requirement to not regress overall coverage by more than 5% | ||
# and let codecov.io set the goal for the code changed in the patch. | ||
target: auto | ||
threshold: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.