3030 - name : Install Cygwin
3131 uses : cygwin/cygwin-install-action@v4
3232 with :
33- packages : python39 python39 -pip python39 -virtualenv git
33+ packages : python38 python38 -pip python38 -virtualenv git
3434 add-to-path : false # No need to change $PATH outside the Cygwin environment.
3535
3636 - name : Arrange for verbose output
@@ -55,30 +55,23 @@ jobs:
5555 # and cause subsequent tests to fail
5656 cat test/fixtures/.gitconfig >> ~/.gitconfig
5757
58- - name : Ensure the "pip" command is available
58+ - name : Update PyPA packages
5959 run : |
60- # This is used unless, and before, an updated pip is installed .
61- ln -s pip3 /usr/bin/ pip
60+ # Get the latest pip, setuptools, and wheel .
61+ python3.8 -m pip install -U pip setuptools wheel
6262
6363 - name : Install project and test dependencies
6464 run : |
65- set +e
66- for t in {1..10}; do
67- echo "Starting try $t."
68- timeout -s KILL "$((10 + t * 20))"s pip install ".[test]"
69- status="$?"
70- ((status == 137)) || break
71- done
72- exit "$status"
65+ python3.8 -m pip install ".[test]"
7366
7467 - name : Show version and platform information
7568 run : |
7669 uname -a
77- command -v git python
70+ command -v git python3.8
7871 git version
79- python --version
80- 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}")'
8174
8275 - name : Test with pytest
8376 run : |
84- pytest --color=yes -p no:sugar --instafail -vv
77+ python3.8 -m pytest --color=yes -p no:sugar --instafail -vv
0 commit comments