Skip to content

Commit 831aa63

Browse files
committed
Actually test a debug build
Fixes #17819
1 parent 5c5e051 commit 831aa63

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ jobs:
7171
tox_extra_args: "-n 4"
7272
test_mypyc: true
7373

74-
- name: Test suit with py313-dev-ubuntu, mypyc-compiled
74+
- name: Test suite with py313-dev-ubuntu, mypyc-compiled
7575
python: '3.13-dev'
7676
arch: x64
7777
os: ubuntu-latest
7878
toxenv: py
7979
tox_extra_args: "-n 4"
8080
test_mypyc: true
81-
# - name: Test suit with py314-dev-ubuntu
81+
# - name: Test suite with py314-dev-ubuntu
8282
# python: '3.14-dev'
8383
# arch: x64
8484
# os: ubuntu-latest
@@ -146,19 +146,18 @@ jobs:
146146
PYTHONDIR=~/python-debug/python-$PYTHONVERSION
147147
VENV=$PYTHONDIR/env
148148
./misc/build-debug-python.sh $PYTHONVERSION $PYTHONDIR $VENV
149-
# TODO: does this do anything? env vars aren't passed to the next step right
150-
source $VENV/bin/activate
151-
- name: Latest Dev build
149+
echo "$VENV/bin" >> $GITHUB_PATH
150+
- name: Latest dev build
152151
if: ${{ endsWith(matrix.python, '-dev') }}
153152
run: |
154-
sudo apt-get update
155-
sudo apt-get install -y --no-install-recommends \
156-
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
157-
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
158153
git clone --depth 1 https://github.com/python/cpython.git /tmp/cpython --branch $( echo ${{ matrix.python }} | sed 's/-dev//' )
159154
cd /tmp/cpython
160155
echo git rev-parse HEAD; git rev-parse HEAD
161156
git show --no-patch
157+
sudo apt-get update -q
158+
sudo apt-get install -y -q --no-install-recommends \
159+
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
160+
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
162161
./configure --prefix=/opt/pythondev
163162
make -j$(nproc)
164163
sudo make install

0 commit comments

Comments
 (0)