Skip to content

Commit 675a0d0

Browse files
authored
Merge pull request #138 from Leengit/versions_as_strings
ENH: Versions as strings, not numbers, so that 3.1 != 3.10, etc.
2 parents f4cd028 + c8c6771 commit 675a0d0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/build-test-package.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python 3.8
3434
uses: actions/setup-python@v2
3535
with:
36-
python-version: 3.8
36+
python-version: "3.8"
3737

3838
- name: Install build dependencies
3939
run: |
@@ -142,7 +142,7 @@ jobs:
142142
strategy:
143143
max-parallel: 2
144144
matrix:
145-
python-version: [37, 38, 39, 310]
145+
python-version: ["37", "38", "39", "310"]
146146

147147
steps:
148148
- uses: actions/checkout@v2
@@ -159,7 +159,7 @@ jobs:
159159
- name: Set up Python 3.8
160160
uses: actions/setup-python@v2
161161
with:
162-
python-version: 3.8
162+
python-version: "3.8"
163163

164164
- name: Get specific version of CMake, Ninja
165165
uses: lukka/[email protected]
@@ -215,7 +215,7 @@ jobs:
215215
- name: Set up Python 3.8
216216
uses: actions/setup-python@v2
217217
with:
218-
python-version: 3.8
218+
python-version: "3.8"
219219

220220
- name: Evaluate template
221221
shell: bash
@@ -242,7 +242,7 @@ jobs:
242242
strategy:
243243
max-parallel: 2
244244
matrix:
245-
python-version-minor: [7, 8, 9, 10]
245+
python-version-minor: ["7", "8", "9", "10"]
246246

247247
steps:
248248
- uses: actions/checkout@v2
@@ -263,7 +263,7 @@ jobs:
263263
- name: Set up Python 3.8
264264
uses: actions/setup-python@v2
265265
with:
266-
python-version: 3.8
266+
python-version: "3.8"
267267

268268
- name: Evaluate template
269269
shell: bash

{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python 3.8
3434
uses: actions/setup-python@v2
3535
with:
36-
python-version: 3.8
36+
python-version: "3.8"
3737

3838
- name: Install build dependencies
3939
run: |
@@ -135,7 +135,7 @@ jobs:
135135
strategy:
136136
max-parallel: 2
137137
matrix:
138-
python-version: [37, 38, 39, 310]
138+
python-version: ["37", "38", "39", "310"]
139139

140140
steps:
141141
- uses: actions/checkout@v2
@@ -209,7 +209,7 @@ jobs:
209209
strategy:
210210
max-parallel: 2
211211
matrix:
212-
python-version-minor: [7, 8, 9, 10]
212+
python-version-minor: ["7", "8", "9", "10"]
213213

214214
steps:
215215
- name: Get specific version of CMake, Ninja

0 commit comments

Comments
 (0)