Skip to content

Commit f3e6260

Browse files
committed
Install testsuite when using deadsnakes PPA
1 parent 8e517e8 commit f3e6260

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ jobs:
6666
if: endsWith(matrix.python, '-dev')
6767
with:
6868
python-version: '${{ matrix.python }}'
69+
- name: Install python testsuite
70+
if: endsWith(matrix.python, '-dev')
71+
run: |
72+
version=$(echo $PYVERSION | sed 's/-dev//')
73+
sudo apt-get install -y --no-install-recommends libpython${version}-testsuite
74+
env:
75+
PYVERSION: '${{ matrix.python }}'
6976
- name: Run tests
7077
run: ./ci.sh
7178
env:

ci.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ if python -c 'import sys; sys.exit(sys.version_info >= (3, 7))'; then
8080
git diff test-requirements.txt
8181
fi
8282

83+
# See https://github.com/python-trio/trio/issues/334
84+
YAPF_VERSION=0.20.0
85+
8386
if [ "$CHECK_FORMATTING" = "1" ]; then
8487
pip install yapf==${YAPF_VERSION}
8588
if ! yapf -rpd setup.py trio_asyncio; then

0 commit comments

Comments
 (0)