From bbe70f55a6fc7814819e35b674df15d999345ed5 Mon Sep 17 00:00:00 2001 From: ArkadiuszMichalski <2730894+ArkadiuszMichalski@users.noreply.github.com> Date: Wed, 14 Dec 2022 02:06:32 +0100 Subject: [PATCH] [xml][force xml] Switch to Python311-x64 and use prebuild lxml for CI --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5126a9181..6c2e010ac 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,7 @@ image: Visual Studio 2022 # - PowerEditor/installer/*/*.xml environment: + python_dir: C:\Python311-x64 matrix: - compiler: MSC platform: Win32 @@ -50,7 +51,7 @@ before_build: Write-Output "XML validation mode`n" if ("$env:platform/$env:configuration" -eq "Win32/Debug") { if (@($files_modified | Where-Object {$_ -match $folders_onejob}).length -eq 0) { - $env:Path = "C:\Python310;C:\Python310\Scripts;" + $env:Path + $env:Path = "$env:python_dir;$env:python_dir\Scripts;" + $env:Path python -m pip install requests rfc3987 pywin32 lxml python PowerEditor\Test\xmlValidator\validator_xml.py if ($LastExitCode -eq 0) { @@ -106,7 +107,7 @@ for: $nppFileName = "Notepad++.$env:platform.$env:configuration.exe" Push-AppveyorArtifact "PowerEditor\visual.net\Debug\Notepad++.exe" -FileName "$nppFileName" # xml files syntax checks - - set PATH=C:\Python310;C:\Python310\Scripts;%PATH% + - set PATH=%python_dir%;%python_dir%\Scripts;%PATH% - python -m pip install requests rfc3987 pywin32 lxml - python PowerEditor\Test\xmlValidator\validator_xml.py # tests