mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 23:39:38 +00:00
skip test for python 2 (#60)
Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
@ -75,7 +75,7 @@ Describe "Tests" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Pyinstaller 3.5 does not support Python 3.8.0. Check issue https://github.com/pyinstaller/pyinstaller/issues/4311
|
# Pyinstaller 3.5 does not support Python 3.8.0. Check issue https://github.com/pyinstaller/pyinstaller/issues/4311
|
||||||
if ($Version -lt "3.8.0") {
|
if ($Version -lt "3.8.0" -and $Version.Major -ne "2") {
|
||||||
It "Validate Pyinstaller" {
|
It "Validate Pyinstaller" {
|
||||||
"pip install pyinstaller" | Should -ReturnZeroExitCode
|
"pip install pyinstaller" | Should -ReturnZeroExitCode
|
||||||
"pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode
|
"pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode
|
||||||
|
Reference in New Issue
Block a user