Skip to content

Commit

Permalink
re-adding az test & updating build.ps1 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelcolas authored Sep 22, 2020
1 parent 08def80 commit 94227c2
Show file tree
Hide file tree
Showing 6 changed files with 289 additions and 174 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Corrected a typo and incorrect debug information.
- New CI process.

### Changed

- Updated new build.ps1 from sampler.

### Fixed

- Fixed issue in Merge-DatumArray where it used ArrayList.AddRange to add hashtables (each key/value pair is added as a new object),
Expand Down
54 changes: 27 additions & 27 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,33 +156,33 @@ stages:
summaryFileLocation: 'output/testResults/CodeCov*.xml'
pathToSources: '$(Build.SourcesDirectory)/output/$(dscBuildVariable.RepositoryName)'

# - job: Test_Integration
# displayName: 'Integration'
# pool:
# vmImage: 'windows-2019'
# timeoutInMinutes: '0'
# steps:
# - task: DownloadBuildArtifacts@0
# displayName: 'Download Build Artifact'
# inputs:
# buildType: 'current'
# downloadType: 'single'
# artifactName: 'output'
# downloadPath: '$(Build.SourcesDirectory)'
# - task: PowerShell@2
# name: test
# displayName: 'Run Integration Test'
# inputs:
# filePath: './build.ps1'
# arguments: "-Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0"
# pwsh: false
# - task: PublishTestResults@2
# displayName: 'Publish Test Results'
# condition: succeededOrFailed()
# inputs:
# testResultsFormat: 'NUnit'
# testResultsFiles: 'output/testResults/NUnit*.xml'
# testRunTitle: 'Integration (ubuntu-latest)'
- job: Test_Integration
displayName: 'Integration'
pool:
vmImage: 'windows-2019'
timeoutInMinutes: '0'
steps:
- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifact'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'output'
downloadPath: '$(Build.SourcesDirectory)'
- task: PowerShell@2
name: test
displayName: 'Run Integration Test'
inputs:
filePath: './build.ps1'
arguments: "-Tasks test -PesterScript 'tests/Integration' -CodeCoverageThreshold 0"
pwsh: false
- task: PublishTestResults@2
displayName: 'Publish Test Results'
condition: succeededOrFailed()
inputs:
testResultsFormat: 'NUnit'
testResultsFiles: 'output/testResults/NUnit*.xml'
testRunTitle: 'Integration (ubuntu-latest)'

- stage: Deploy
dependsOn: Test
Expand Down
Loading

0 comments on commit 94227c2

Please sign in to comment.