mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
34 lines
835 B
YAML
34 lines
835 B
YAML
# Add steps that build, run tests, deploy, and more:
|
|
# https://aka.ms/yaml
|
|
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- '*'
|
|
# - master
|
|
# - releases/*
|
|
paths:
|
|
exclude:
|
|
- README.md
|
|
- CHANGELOG.md
|
|
|
|
jobs:
|
|
- job: Windows
|
|
pool:
|
|
vmImage: 'windows-latest'
|
|
|
|
steps:
|
|
- powershell: 'Install-Module -Name Pester,PlatyPS,platyPS,PSScriptAnalyzer -Force -SkipPublisherCheck'
|
|
displayName: 'Update Modules'
|
|
- powershell: './CI/PS-CI.ps1'
|
|
displayName: 'Check Build Check Pack Test'
|
|
- task: PublishTestResults@2
|
|
inputs:
|
|
testResultsFormat: 'NUnit'
|
|
testResultsFiles: '**/TestResults*.xml'
|
|
failTaskOnFailedTests: true
|
|
- task: PublishPipelineArtifact@1
|
|
inputs:
|
|
targetPath: '$(Build.ArtifactStagingDirectory)/ImportExcel'
|
|
artifact: 'ImportExcel'
|