File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : windows-latest
11
11
12
12
strategy :
13
+ matrix :
14
+ python-version : ["3.9", "3.12"]
15
+ include :
16
+ - python-version : " 3.9"
17
+ package-suffix : " 39"
18
+ - python-version : " 3.12"
19
+ package-suffix : " 312"
20
+
13
21
fail-fast : false
14
22
15
23
env :
33
41
- name : Install Cygwin
34
42
uses : cygwin/cygwin-install-action@v5
35
43
with :
36
- packages : python39 python39-pip python39-virtualenv git wget
44
+ packages : >
45
+ python${{ matrix.package-suffix }}
46
+ python${{ matrix.package-suffix }}-pip
47
+ python${{ matrix.package-suffix }}-virtualenv
48
+ git
49
+ wget
37
50
add-to-path : false # No need to change $PATH outside the Cygwin environment.
38
51
39
52
- name : Arrange for verbose output
61
74
62
75
- name : Set up virtualenv
63
76
run : |
64
- python3.9 -m venv --without-pip .venv
77
+ python${{ matrix.python-version }} -m venv --without-pip .venv
65
78
echo 'BASH_ENV=.venv/bin/activate' >>"$GITHUB_ENV"
66
79
67
80
- name : Bootstrap pip in virtualenv
You can’t perform that action at this time.
0 commit comments