GitHub Actions: just use x86 Python to test on Windows

I can't figure out the correct GitHub Actions magic incantation^w^w
expression syntax that is needed to isolate (Windows && Python 2.7),
so let's just run also run x86 Python 3.6 on Windows.
This commit is contained in:
Sajith Sasidharan 2021-04-26 13:41:17 -04:00
parent dec97b3aa1
commit 68603fc015

View File

@ -35,7 +35,7 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' )
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -45,7 +45,7 @@ jobs:
# vcpython27 compiler, building a netifaces wheel is not an
# option anymore, so let us test on 32-bit Windows.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' )
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -187,14 +187,14 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' )
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# See this step under coverage job.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' )
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
@ -251,14 +251,14 @@ jobs:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
if: ( matrix.os != 'windows-latest' && matrix.python-version != '2.7' )
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# See this step under coverage job.
- name: Set up Python ${{ matrix.python-version }} [Windows x86]
if: ( matrix.os == 'windows-latest' && matrix.python-version == '2.7' )
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}