Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34bbf73

Browse files
committed
Try Python 3.8
1 parentb5865ff commit34bbf73

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

‎.github/workflows/cygwin-test.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
-name:Install Cygwin
3131
uses:cygwin/cygwin-install-action@v4
3232
with:
33-
packages:python39 python39-pippython39-virtualenv git
33+
packages:python38 python38-pippython38-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 -Upip 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 gitpython
70+
command -v gitpython3.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 -mpytest --color=yes -p no:sugar --instafail -vv

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp