Skip to content

Commit

Permalink
Update build.yaml for new build task
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Jan 27, 2021
1 parent a7c19e7 commit f46efa3
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BuildWorkflow:
- package_module_nupkg

hqrmtest:
- DscResource_Tests_Stop_On_Fail
- Invoke_HQRM_Tests_Stop_On_Fail

test:
- Pester_Tests_Stop_On_Fail
Expand All @@ -46,6 +46,8 @@ ModuleBuildTasks:
- '*.build.Sampler.ib.tasks'
DscResource.DocGenerator:
- 'Task.*'
DscResource.Test:
- 'Task.*'

TaskHeader: |
param($Path)
Expand Down Expand Up @@ -92,24 +94,30 @@ Pester:
# Pester Configuration (DscResource.Test) #
####################################################
DscTest:
ExcludeTag:
- "Common Tests - New Error-Level Script Analyzer Rules"
Tag:
ExcludeSourceFile:
- output
# Deprecated resources
- source/DSCResources/MSFT_SqlServerNetwork
- source/DSCResources/MSFT_SqlDatabaseOwner
- source/DSCResources/MSFT_SqlDatabaseRecoveryModel
- source/DSCResources/MSFT_SqlServerEndpointState
ExcludeModuleFile:
- Modules/DscResource.Common
# Deprecated resources
- DSCResources/MSFT_SqlServerNetwork
- DSCResources/MSFT_SqlDatabaseOwner
- DSCResources/MSFT_SqlDatabaseRecoveryModel
- DSCResources/MSFT_SqlServerEndpointState
MainGitBranch: main
Pester:
Configuration:
Filter:
Tag:
ExcludeTag:
- "Common Tests - New Error-Level Script Analyzer Rules"
Output:
Verbosity: Detailed
Script:
ExcludeSourceFile:
- output
# Deprecated resources
- DSCResources/MSFT_SqlServerNetwork
- DSCResources/MSFT_SqlDatabaseOwner
- DSCResources/MSFT_SqlDatabaseRecoveryModel
- DSCResources/MSFT_SqlServerEndpointState
ExcludeModuleFile:
- Modules/DscResource.Common
# Deprecated resources
- DSCResources/MSFT_SqlServerNetwork
- DSCResources/MSFT_SqlDatabaseOwner
- DSCResources/MSFT_SqlDatabaseRecoveryModel
- DSCResources/MSFT_SqlServerEndpointState
MainGitBranch: main

####################################################
# PSDepend Configuration #
Expand Down

0 comments on commit f46efa3

Please sign in to comment.