Skip to content

Commit d64e51d

Browse files
committed
Run Python auto package installation CI job for Python 2 on Windows 2019
This job isn't working on Windows Server 2022, i.e. `windows-latest`. We're tracking the issue internally, but until then it shouldn't fail CI for the Action.
1 parent 394ede8 commit d64e51d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/python-deps.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Python Package Installation on Linux and Mac
1+
name: Test Python Package Installation
22

33
on:
44
push:
@@ -108,12 +108,19 @@ jobs:
108108
test -z $LGTM_INDEX_IMPORT_PATH
109109
110110
test-setup-python-scripts-windows:
111-
runs-on: windows-latest
111+
runs-on: ${{ matrix.os }}
112112
strategy:
113113
fail-fast: false
114114
matrix:
115-
python_deps_type: [pipenv, poetry, requirements, setup_py]
116-
python_version: [2, 3]
115+
include:
116+
- os: windows-latest
117+
python_deps_type: [pipenv, poetry, requirements, setup_py]
118+
python_version: 3
119+
# Python 2 auto package installation does not work on Windows Server 2022. This is being
120+
# tracked internally.
121+
- os: windows-2019
122+
python_deps_type: [pipenv, poetry, requirements, setup_py]
123+
python_version: 2
117124

118125
env:
119126
PYTHON_DEPS_TYPE: ${{ matrix.python_deps_type }}

0 commit comments

Comments
 (0)