Skip to content

Commit 654b037

Browse files
MaksimZhukovMaksimZhukov
andauthored
Fix python tests (actions#41)
Co-authored-by: MaksimZhukov <[email protected]>
1 parent 06e3e67 commit 654b037

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

azure-pipelines/templates/test-job.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
}
7777
}
7878
Invoke-Pester -Script $pesterParams -OutputFile "test_results.xml" -OutputFormat NUnitXml
79+
pwsh: true
7980
workingDirectory: '$(Build.SourcesDirectory)/tests'
8081

8182
- task: PublishTestResults@2

tests/python-tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param (
2-
[string] [Parameter (Mandatory = $true)] [ValidateNotNullOrEmpty()]
2+
[semver] [Parameter (Mandatory = $true)] [ValidateNotNullOrEmpty()]
33
$Version,
44
[string] [Parameter (Mandatory = $true)] [ValidateNotNullOrEmpty()]
55
$Platform

0 commit comments

Comments
 (0)