Skip to content

Commit d1dd1ff

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 d1dd1ff

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

.github/workflows/python-deps.yml

Lines changed: 21 additions & 14 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:
@@ -12,11 +12,11 @@ jobs:
1212
test-setup-python-scripts:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
15-
fail-fast: false
16-
matrix:
17-
os: [ubuntu-latest, macos-latest]
18-
python_deps_type: [pipenv, poetry, requirements, setup_py]
19-
python_version: [2, 3]
15+
fail-fast: false
16+
matrix:
17+
os: [ubuntu-latest, macos-latest]
18+
python_deps_type: [pipenv, poetry, requirements, setup_py]
19+
python_version: [2, 3]
2020

2121
env:
2222
PYTHON_DEPS_TYPE: ${{ matrix.python_deps_type }}
@@ -64,9 +64,9 @@ jobs:
6464
test-setup-python-scripts-non-standard-location:
6565
runs-on: ${{ matrix.os }}
6666
strategy:
67-
fail-fast: false
68-
matrix:
69-
os: [ubuntu-latest, macos-latest]
67+
fail-fast: false
68+
matrix:
69+
os: [ubuntu-latest, macos-latest]
7070

7171
steps:
7272
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -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:
113-
fail-fast: false
114-
matrix:
115-
python_deps_type: [pipenv, poetry, requirements, setup_py]
116-
python_version: [2, 3]
113+
fail-fast: false
114+
matrix:
115+
python_deps_type: [pipenv, poetry, requirements, setup_py]
116+
python_version: [2, 3]
117+
include:
118+
- python_version: 3
119+
os: windows-latest
120+
# Python 2 auto package installation does not work on Windows Server 2022. This is being
121+
# tracked internally.
122+
- python_version: 2
123+
os: windows-2019
117124

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy