File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1+ # NOTE: In contrast to Linux and macOS, the Windows build machines do not have Chrome installed.
2+
13name : " HTML2PDF on Windows"
24
3- # FIXME: Disabled until WDM detects Chrome on Windows reliably.
4- # on:
5- # pull_request:
6- # branches: [ "**" ]
5+ on :
6+ pull_request :
7+ branches : [ "**" ]
78
89jobs :
910 build :
2122 with :
2223 python-version : ${{ matrix.python-version }}
2324
25+ - name : Install Google Chrome
26+ run : |
27+ choco install googlechrome --no-progress -y
28+ shell : powershell
29+
30+ - name : Check Chrome Version
31+ run : ' & "C:\Program Files\Google\Chrome\Application\chrome.exe" --version'
32+ shell : powershell
33+
34+ - name : Add Chrome to PATH
35+ run : |
36+ $chromePath = "C:\Program Files\Google\Chrome\Application"
37+ echo "Adding $chromePath to PATH"
38+ echo "$chromePath" | Out-File -Append -Encoding utf8 $env:GITHUB_PATH
39+ shell : powershell
40+
41+ - name : Verify Chrome Installation
42+ run : chrome --version
43+ shell : powershell
44+
2445 - name : Upgrade pip
2546 run : |
2647 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ def exit_handler():
266266 driver .quit ()
267267
268268 for separate_path_pair_ in paths :
269+ print (f"PATH PAIR: { separate_path_pair_ } " )
269270 path_to_input_html , path_to_output_pdf = separate_path_pair_ .split (":" )
270271 assert os .path .isfile (path_to_input_html ), path_to_input_html
271272
You can’t perform that action at this time.
0 commit comments