CI: Specify python minor version everywhere on Cygwin

Finish the last few of these.  It's usually unnecessary, but I ran into trouble once with NumPy, and will likely run into more problems if I start submitting packages.

A different option would be to use alternatives to point python3 at the right python.
This commit is contained in:
DWesl 2022-04-29 20:40:57 -04:00 committed by GitHub
parent 3453b0ea5d
commit 143e57b6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ jobs:
- name: Build system information
run: |
dash.exe -c "python3 .github/workflows/system-info.py"
dash.exe -c "python3.${{ matrix.python-minor-version }} .github/workflows/system-info.py"
- name: Install dependencies
run: |
@ -77,10 +77,10 @@ jobs:
- name: Build
shell: bash.exe -eo pipefail -o igncr "{0}"
run: |
python3 -m coverage erase
python3.${{ matrix.python-minor-version }} -m coverage erase
make clean
CFLAGS="-coverage -Werror=implicit-function-declaration" python3 -m pip install -v --global-option="build_ext" .
python3 selftest.py
CFLAGS="-coverage -Werror=implicit-function-declaration" python3.${{ matrix.python-minor-version }} -m pip install -v --global-option="build_ext" .
python3.${{ matrix.python-minor-version }} selftest.py
- name: Rebase dlls
shell: bash.exe -eo pipefail -o igncr "{0}"