Skip to content

Commit e28deda

Browse files
committed
Reinstate check-3.11-versions.sh
1 parent 4f19d62 commit e28deda

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

admin-tools/check-3.11-versions.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
function finish {
3+
cd $trepan3k_owd
4+
}
5+
6+
# FIXME put some of the below in a common routine
7+
trepan3k_owd=$(pwd)
8+
# trap finish EXIT
9+
10+
cd $(dirname ${BASH_SOURCE[0]})
11+
if ! source ./pyenv-3.11-versions ; then
12+
exit $?
13+
fi
14+
15+
. ./setup-python-3.11.sh
16+
17+
cd ..
18+
for version in $PYVERSIONS; do
19+
if ! pyenv local $version ; then
20+
exit $?
21+
fi
22+
python --version
23+
make clean && pip install -e .
24+
if ! make check; then
25+
exit $?
26+
fi
27+
echo === $version ===
28+
done

0 commit comments

Comments
 (0)