diff .github/workflows/ci-test.yml @ 6868:5aee1b6ffb52

sudo make install; add 3.11 python.
author John Rouillard <rouilj@ieee.org>
date Thu, 01 Sep 2022 01:19:05 -0400
parents 25487b21f812
children 09d40d38272e
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Thu Sep 01 01:08:41 2022 -0400
+++ b/.github/workflows/ci-test.yml	Thu Sep 01 01:19:05 2022 -0400
@@ -22,7 +22,7 @@
       fail-fast: false
       matrix:
         # Run in all these versions of Python
-        python-version: [ "2.7", "3.10" ]
+        python-version: [ "2.7", "3.10", "3.11" ]
         #python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6" ]
     # use for multiple os or ubuntu versions
     #    os: [ubuntu-latest, macos-latest, windows-latest]
@@ -117,7 +117,7 @@
           # Change distutils.sysconfig... to just sysconfig and SO
           # to EXT_SUFFIX to get valid value.
           if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
-          case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && make install; esac
+          case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
 
       - name: Install pytest and other packages needed for running tests
         run: pip install codecov flake8 pytest pytest-cov requests

Roundup Issue Tracker: http://roundup-tracker.org/