Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 5153392

Browse files
authored
fixes path to pester tests (#90)
1 parent 00204f2 commit 5153392

File tree

1 file changed

+4
-43
lines changed

1 file changed

+4
-43
lines changed

build.yaml

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -95,49 +95,10 @@ BuildWorkflow:
9595

9696
Pester:
9797
OutputFormat: NUnitXML
98-
# Excludes one or more paths from being used to calculate code coverage.
99-
ExcludeFromCodeCoverage:
100-
101-
# If no scripts are defined the default is to use all the tests under the project's
102-
# tests folder or source folder (if present). Test script paths can be defined to
103-
# only run tests in certain folders, or run specific test files, or can be use to
104-
# specify the order tests are run.
105-
Script:
106-
# - tests/QA/module.tests.ps1
107-
# - tests/QA
108-
# - tests/Unit
109-
# - tests/Integration
110-
ExcludeTag:
111-
# - helpQuality
112-
# - FunctionalQuality
113-
# - TestQuality
114-
Tag:
115-
CodeCoverageThreshold: 0 # Set to 0 to bypass
116-
#CodeCoverageOutputFile: JaCoCo_$OsShortName.xml
117-
#CodeCoverageOutputFileEncoding: ascii
118-
# Use this if code coverage should be merged from several pipeline test jobs.
119-
# Any existing keys above should be replaced. See also CodeCoverage below.
120-
# CodeCoverageOutputFile is the file that is created for each pipeline test job.
121-
#CodeCoverageOutputFile: JaCoCo_Merge.xml
122-
123-
# Use this to merged code coverage from several pipeline test jobs.
124-
# CodeCoverageFilePattern - the pattern used to search all pipeline test job artifacts
125-
# after the file specified in CodeCoverageOutputFile.
126-
# CodeCoverageMergedOutputFile - the file that is created by the merge build task and
127-
# is the file that should be uploaded to code coverage services.
128-
#CodeCoverage:
129-
#CodeCoverageFilePattern: JaCoCo_Merge.xml # the pattern used to search all pipeline test job artifacts
130-
#CodeCoverageMergedOutputFile: JaCoCo_coverage.xml # the file that is created for the merged code coverage
131-
132-
# DscTest:
133-
# ExcludeTag:
134-
# - "Common Tests - New Error-Level Script Analyzer Rules"
135-
# Tag:
136-
# ExcludeSourceFile:
137-
# - output
138-
# ExcludeModuleFile:
139-
# - Modules/DscResource.Common
140-
# - Templates
98+
Configuration:
99+
Run:
100+
Path:
101+
- BicepNet.PS/tests
141102

142103
# Import ModuleBuilder tasks from a specific PowerShell module using the build
143104
# task's alias. Wildcard * can be used to specify all tasks that has a similar

0 commit comments

Comments
 (0)