From ce4270babde610d4d9d1229862527c45b236be39 Mon Sep 17 00:00:00 2001 From: jhoneill Date: Sun, 8 Dec 2019 00:53:56 +0000 Subject: [PATCH] experiment with new Azure pipeline --- CI/pipeline.yml | 58 +------------------------------------------------ 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/CI/pipeline.yml b/CI/pipeline.yml index cdaa155..06b5a48 100644 --- a/CI/pipeline.yml +++ b/CI/pipeline.yml @@ -20,70 +20,14 @@ jobs: steps: - powershell: 'Install-Module -Name Pester,PlatyPS,platyPS,PSScriptAnalyzer -Force -SkipPublisherCheck' displayName: 'Update Modules' - - powershell: './CI/CI.ps1 -Test' + - powershell: './CI/PS-CI.ps1' displayName: 'Check Build Check Pack Test' - - - task: PublishTestResults@2 - inputs: - testResultsFormat: 'NUnit' - testResultsFiles: '**/TestResults*.xml' - failTaskOnFailedTests: true - - - powershell: './CI/CI.ps1 -Artifact' - displayName: 'Prepare Artifact' - task: PublishPipelineArtifact@1 inputs: targetPath: '$(Build.ArtifactStagingDirectory)' artifact: 'Modules' - - powershell: './CI/CI.ps1 -Analyzer' - displayName: 'Invoke ScriptAnalyzer' - - - job: WindowsPSCore - pool: - vmImage: 'windows-latest' - - steps: - - pwsh: 'Install-Module -Name Pester -Force' - displayName: 'Update Pester' - - pwsh: './CI/CI.ps1 -Test' - displayName: 'Install and Test' - - task: PublishTestResults@2 inputs: testResultsFormat: 'NUnit' testResultsFiles: '**/TestResults*.xml' failTaskOnFailedTests: true - - - job: Ubuntu - pool: - vmImage: 'ubuntu-latest' - - steps: - - powershell: 'Install-Module -Name Pester -Force' - displayName: 'Update Pester' - - powershell: './CI/CI.ps1 -Test' - displayName: 'Install and Test' - - - task: PublishTestResults@2 - inputs: - testResultsFormat: 'NUnit' - testResultsFiles: '**/TestResults*.xml' - failTaskOnFailedTests: true - - - job: macOS - pool: - vmImage: 'macOS-latest' - - steps: - - script: brew install mono-libgdiplus - displayName: 'Install mono-libgdiplus' - - powershell: 'Install-Module -Name Pester -Force' - displayName: 'Update Pester' - - powershell: './CI/CI.ps1 -Test' - displayName: 'Install and Test' - - - task: PublishTestResults@2 - inputs: - testResultsFormat: 'NUnit' - testResultsFiles: '**/TestResults*.xml' - failTaskOnFailedTests: true \ No newline at end of file