Skip to content

Commit 46ada00

Browse files
committed
TST: add pypy3.7
1 parent e77b53a commit 46ada00

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.github/actions/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ runs:
1414
echo NPY_USE_BLAS_ILP64 $NPY_USE_BLAS_ILP64
1515
echo NUMPY_EXPERIMENTAL_ARRAY_FUNCTION $NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
1616
echo USE_ASV $USE_ASV
17+
echo PATH $PATH
18+
echo python `which python`
1719
python -c "import sys; print(sys.version)"
1820
1921
- name: BeforeInstall

.github/workflows/build_test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,29 @@ jobs:
174174
python-version: ${{ env.PYTHON_VERSION }}
175175
- uses: ./.github/actions
176176

177+
pypy37:
178+
needs: smoke_test
179+
runs-on: ubuntu-latest
180+
steps:
181+
- uses: actions/checkout@v2
182+
with:
183+
submodules: recursive
184+
fetch-depth: 0
185+
- name: get_pypy
186+
run: |
187+
wget -q https://downloads.python.org/pypy/pypy3.6-v7.3.2-linux64.tar.bz2 -O pypy.tar.bz2
188+
mkdir -p pypy3
189+
(cd pypy3; tar --strip-components=1 -xf ../pypy.tar.bz2)
190+
pypy3/bin/pypy3 -mensurepip
191+
pypy3/bin/pypy3 -m pip install --upgrade pip wheel
192+
if [ ! -e pypy3/bin/python ]
193+
then
194+
pushd pypy3/bin
195+
ln -s pypy3 python
196+
popd
197+
fi
198+
echo $PWD/pypy3/bin >> $GITHUB_PATH
199+
200+
- uses: ./.github/actions
201+
177202

tools/travis-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ run_test()
105105
export PYTHONWARNINGS="ignore::DeprecationWarning:virtualenv"
106106
$PYTHON -b ../runtests.py -n -v --mode=full $DURATIONS_FLAG $COVERAGE_FLAG
107107
else
108-
$PYTHON ../runtests.py -n -v $DURATIONS_FLAG
108+
$PYTHON ../runtests.py -n -v $DURATIONS_FLAG -- -rs
109109
fi
110110

111111
if [ -n "$RUN_COVERAGE" ]; then

0 commit comments

Comments
 (0)