1
- name : Test Python Package Installation on Linux and Mac
1
+ name : Test Python Package Installation
2
2
3
3
on :
4
4
push :
@@ -12,11 +12,11 @@ jobs:
12
12
test-setup-python-scripts :
13
13
runs-on : ${{ matrix.os }}
14
14
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]
20
20
21
21
env :
22
22
PYTHON_DEPS_TYPE : ${{ matrix.python_deps_type }}
64
64
test-setup-python-scripts-non-standard-location :
65
65
runs-on : ${{ matrix.os }}
66
66
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]
70
70
71
71
steps :
72
72
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -108,12 +108,18 @@ jobs:
108
108
test -z $LGTM_INDEX_IMPORT_PATH
109
109
110
110
test-setup-python-scripts-windows :
111
- runs-on : windows-latest
111
+ runs-on : ${{ matrix.os }}
112
112
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 isn't supported on the `windows-latest` image, so use `windows-2019`.
121
+ - python_version : 2
122
+ os : windows-2019
117
123
118
124
env :
119
125
PYTHON_DEPS_TYPE : ${{ matrix.python_deps_type }}
0 commit comments