summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/actions/action.yml2
-rw-r--r--.github/workflows/build_test.yml25
-rwxr-xr-xtools/travis-test.sh2
3 files changed, 28 insertions, 1 deletions
diff --git a/.github/actions/action.yml b/.github/actions/action.yml
index a4dcfaa75..87eeb502b 100644
--- a/.github/actions/action.yml
+++ b/.github/actions/action.yml
@@ -14,6 +14,8 @@ runs:
echo NPY_USE_BLAS_ILP64 $NPY_USE_BLAS_ILP64
echo NUMPY_EXPERIMENTAL_ARRAY_FUNCTION $NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
echo USE_ASV $USE_ASV
+ echo PATH $PATH
+ echo python `which python`
python -c "import sys; print(sys.version)"
- name: BeforeInstall
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index 696c5ae5c..bdefe1bad 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -174,4 +174,29 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- uses: ./.github/actions
+ pypy37:
+ needs: smoke_test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
+ fetch-depth: 0
+ - name: get_pypy
+ run: |
+ wget -q https://downloads.python.org/pypy/pypy3.6-v7.3.2-linux64.tar.bz2 -O pypy.tar.bz2
+ mkdir -p pypy3
+ (cd pypy3; tar --strip-components=1 -xf ../pypy.tar.bz2)
+ pypy3/bin/pypy3 -mensurepip
+ pypy3/bin/pypy3 -m pip install --upgrade pip wheel
+ if [ ! -e pypy3/bin/python ]
+ then
+ pushd pypy3/bin
+ ln -s pypy3 python
+ popd
+ fi
+ echo $PWD/pypy3/bin >> $GITHUB_PATH
+
+ - uses: ./.github/actions
+
diff --git a/tools/travis-test.sh b/tools/travis-test.sh
index f6804f7fe..bd2229ee7 100755
--- a/tools/travis-test.sh
+++ b/tools/travis-test.sh
@@ -105,7 +105,7 @@ run_test()
export PYTHONWARNINGS="ignore::DeprecationWarning:virtualenv"
$PYTHON -b ../runtests.py -n -v --mode=full $DURATIONS_FLAG $COVERAGE_FLAG
else
- $PYTHON ../runtests.py -n -v $DURATIONS_FLAG
+ $PYTHON ../runtests.py -n -v $DURATIONS_FLAG -- -rs
fi
if [ -n "$RUN_COVERAGE" ]; then