comparison .github/workflows/ci-test.yml @ 7410:b7cd007c2bd6

issue2551277 - disable xapian testing github python 3.12 Details https://issues.roundup-tracker.org/issue2551277
author John Rouillard <rouilj@ieee.org>
date Thu, 25 May 2023 15:29:46 -0400
parents 7d437f85eefc
children 679680f016f2
comparison
equal deleted inserted replaced
7409:b21ebabeb2ef 7410:b7cd007c2bd6
31 jobs: 31 jobs:
32 test: 32 test:
33 name: CI build test 33 name: CI build test
34 34
35 # run the finalizer for coveralls even if one or more 35 # run the finalizer for coveralls even if one or more
36 # matrix runs fail. 36 # experimental matrix runs fail.
37 # continue-on-error: true 37 # continue-on-error: ${{ matrix.experimental }}
38 38
39 #runs-on: ubuntu-latest 39 #runs-on: ubuntu-latest
40 # use below if running on multiple OS's. 40 # use below if running on multiple OS's.
41 runs-on: ${{ matrix.os }} 41 runs-on: ${{ matrix.os }}
42 42
183 # distutils.sysconfig.get_config_vars('SO') doesn't work for 183 # distutils.sysconfig.get_config_vars('SO') doesn't work for
184 # 3.11 or newer. 184 # 3.11 or newer.
185 # Change distutils.sysconfig... to just sysconfig and SO 185 # Change distutils.sysconfig... to just sysconfig and SO
186 # to EXT_SUFFIX to get valid value. 186 # to EXT_SUFFIX to get valid value.
187 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 187 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
188 case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac 188 case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac
189 189
190 - name: Install pytest and other packages needed for running tests 190 - name: Install pytest and other packages needed for running tests
191 run: pip install flake8 mock pytest pytest-cov requests 191 run: pip install flake8 mock pytest pytest-cov requests
192 192
193 - name: Test build roundup and install locale so lang tests work. 193 - name: Test build roundup and install locale so lang tests work.

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