From 143e57b6cddc7effc2b74e9ccd7a330520295ceb Mon Sep 17 00:00:00 2001 From: DWesl <22566757+DWesl@users.noreply.github.com> Date: Fri, 29 Apr 2022 20:40:57 -0400 Subject: [PATCH] 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. --- .github/workflows/test-cygwin.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-cygwin.yml b/.github/workflows/test-cygwin.yml index 499d1f75a..aec937aa7 100644 --- a/.github/workflows/test-cygwin.yml +++ b/.github/workflows/test-cygwin.yml @@ -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}"