-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from Windos/v0.7.2
v0.7.2
- Loading branch information
Showing
16 changed files
with
166 additions
and
2,915 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,123 @@ | ||
jobs: | ||
- job: CookToast | ||
stages: | ||
- stage: ThawBread | ||
displayName: 'Thaw Frozen Bread' | ||
jobs: | ||
- job: Srv2019_64bit | ||
displayName: 'Server 2019 - 64 bit' | ||
pool: 'AzPS7.1-Preview' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - Windows PowerShell - x64' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - PowerShell 7.1 Preview 5 - x64' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
pwsh: true | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
- job: Win10_32bit | ||
displayName: 'Windows 10 - 32 bit' | ||
pool: 'LabPS7x86' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - Windows PowerShell - x86' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - PowerShell 7.1 Preview 5 - x86' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
pwsh: true | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
- stage: CookToast | ||
displayName: 'Cook Toast' | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files)' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
dependsOn: 'ThawBread' | ||
jobs: | ||
- job: PreBuild | ||
displayName: 'Pre-Build Tests' | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - Windows PowerShell' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
- job: 'BuildRetest' | ||
displayName: 'Build & Re-test' | ||
dependsOn: 'PreBuild' | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (individual .ps1 files) - PowerShell Core' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Test | ||
pwsh: true | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
|
||
- task: PowerShell@2 | ||
displayName: 'Compile module' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Compile | ||
- task: PowerShell@2 | ||
displayName: 'Compile module' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Bootstrap -Compile | ||
|
||
- task: PowerShell@2 | ||
displayName: 'Run tests (compiled .psm1)' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Test | ||
- task: PowerShell@2 | ||
displayName: 'Run tests (compiled .psm1)' | ||
inputs: | ||
targetType: Inline | ||
script: ./Azure-Pipelines/build.ps1 -Test | ||
env: | ||
AgentTemp: $(Agent.TempDirectory) | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish test results' | ||
inputs: | ||
testRunner: NUnit | ||
testResultsFiles: '**/TestResults.xml' | ||
condition: succeededOrFailed() | ||
- task: PublishTestResults@2 | ||
displayName: 'Publish test results' | ||
inputs: | ||
testRunner: NUnit | ||
testResultsFiles: '**/TestResults.xml' | ||
condition: succeededOrFailed() | ||
- task: PublishCodeCoverageResults@1 | ||
displayName: 'Publish code coverage results' | ||
inputs: | ||
summaryFileLocation: $(Agent.TempDirectory)/CoverageResults.xml | ||
pathToSources: $(Agent.TempDirectory) | ||
condition: succeededOrFailed() | ||
|
||
- task: Bash@3 | ||
displayName: 'Upload coverage to Codecov' | ||
inputs: | ||
targetType: 'filePath' # Optional. Options: filePath, inline | ||
filePath: ./codecov.sh | ||
arguments: -f coverage.json -t $(CODECOV_TOKEN) | ||
#script: '# Write your commands here# Use the environment variables input below to pass secret variables to this script' # Required when targetType == Inline | ||
#workingDirectory: # Optional | ||
#failOnStderr: false # Optional | ||
- task: Bash@3 | ||
displayName: 'Upload coverage to Codecov' | ||
inputs: | ||
targetType: 'filePath' # Optional. Options: filePath, inline | ||
filePath: ./codecov.sh | ||
arguments: -f coverage.json -t $(CODECOV_TOKEN) | ||
#script: '# Write your commands here# Use the environment variables input below to pass secret variables to this script' # Required when targetType == Inline | ||
#workingDirectory: # Optional | ||
#failOnStderr: false # Optional | ||
|
||
- task: PublishPipelineArtifact@0 | ||
displayName: 'Publish compiled module artifact' | ||
inputs: | ||
artifactName: 'BurntToast' | ||
targetPath: ./BurntToast | ||
condition: succeededOrFailed() | ||
- task: PublishPipelineArtifact@0 | ||
displayName: 'Publish compiled module artifact' | ||
inputs: | ||
artifactName: 'BurntToast' | ||
targetPath: ./BurntToast | ||
condition: succeededOrFailed() | ||
|
||
- task: PublishPipelineArtifact@0 | ||
displayName: 'Publish Pipelines scripts as artifact' | ||
inputs: | ||
artifactName: 'PipelinesScripts' | ||
targetPath: ./Azure-Pipelines | ||
condition: succeededOrFailed() | ||
- task: PublishPipelineArtifact@0 | ||
displayName: 'Publish Pipelines scripts as artifact' | ||
inputs: | ||
artifactName: 'PipelinesScripts' | ||
targetPath: ./Azure-Pipelines | ||
condition: succeededOrFailed() |
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
Oops, something went wrong.