@@ -30,7 +30,7 @@ jobs: |
|
|
30 |
30 |
- name: Install Cygwin |
31 |
31 |
uses: cygwin/cygwin-install-action@v4 |
32 |
32 |
with: |
33 |
|
-packages: python39 python39-pip python39-virtualenv git |
|
33 |
+packages: python38 python38-pip python38-virtualenv git |
34 |
34 |
add-to-path: false # No need to change $PATH outside the Cygwin environment. |
35 |
35 |
|
36 |
36 |
- name: Arrange for verbose output |
@@ -55,28 +55,23 @@ jobs: |
|
|
55 |
55 |
# and cause subsequent tests to fail |
56 |
56 |
cat test/fixtures/.gitconfig >> ~/.gitconfig |
57 |
57 |
|
58 |
|
- - name: Ensure the "pip" command is available |
59 |
|
-run: | |
60 |
|
- # This is used unless, and before, an updated pip is installed. |
61 |
|
- ln -s pip3 /usr/bin/pip |
62 |
|
- |
63 |
58 |
- name: Update PyPA packages |
64 |
59 |
run: | |
65 |
|
- # Get the latest pip, wheel, and prior to Python 3.12, setuptools. |
66 |
|
- python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel |
|
60 |
+ # Get the latest pip, setuptools, and wheel. |
|
61 |
+ python3.8 -m pip install -U pip setuptools wheel |
67 |
62 |
|
68 |
63 |
- name: Install project and test dependencies |
69 |
64 |
run: | |
70 |
|
- pip install ".[test]" |
|
65 |
+ python3.8 -m pip install ".[test]" |
71 |
66 |
|
72 |
67 |
- name: Show version and platform information |
73 |
68 |
run: | |
74 |
69 |
uname -a |
75 |
|
- command -v git python |
|
70 |
+ command -v git python3.8 |
76 |
71 |
git version |
77 |
|
- python --version |
78 |
|
- python -c 'import os, sys; print(f"sys.platform={sys.platform!r}, os.name={os.name!r}")' |
|
72 |
+ python3.8 --version |
|
73 |
+ python3.8 -c 'import os, sys; print(f"sys.platform={sys.platform!r}, os.name={os.name!r}")' |
79 |
74 |
|
80 |
75 |
- name: Test with pytest |
81 |
76 |
run: | |
82 |
|
- pytest --color=yes -p no:sugar --instafail -vv |
|
77 |
+ python3.8 -m pytest --color=yes -p no:sugar --instafail -vv |