Skip to content

Commit

Permalink
Merge pull request #8 from Leengit/versions_as_strings
Browse files Browse the repository at this point in the history
ENH: Versions as strings, not numbers, so that 3.1 != 3.10, etc.
  • Loading branch information
thewtex authored Nov 3, 2022
2 parents 7b32cbe + ddaedc7 commit bf603c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-cxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.8"

- name: Install build dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test-package-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:
pypi_password:
required: false # Packages will not be uploaded to PyPI if not set

jobs:
jobs:
build-linux-python-packages:
runs-on: ubuntu-20.04
strategy:
max-parallel: 2
matrix:
python-version: [37, 38, 39, 310]
python-version: ["37", "38", "39", "310"]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
else
CMAKE_OPTIONS="--cmake_options ${{ inputs.cmake-options }}"
fi
for tarball in "-manylinux_2_28" "-manylinux2014"; do
rm -rf ITKPythonPackage
export TARBALL_SPECIALIZATION=${tarball}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version-minor: [7, 8, 9, 10]
python-version-minor: ["7", "8", "9", "10"]

steps:
- name: Get specific version of CMake, Ninja
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.8"

- name: Install build dependencies
shell: bash
Expand Down

0 comments on commit bf603c0

Please sign in to comment.