From 2c1800465aef7301b37e9ec7486e56b97511da35 Mon Sep 17 00:00:00 2001 From: Amin Sadeghi Date: Fri, 9 Aug 2024 12:17:12 -0400 Subject: [PATCH] ci: Test on Python 3.12, fix macOS issue, re-enable codecov --- .github/workflows/tests.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc28acffb..0896c024f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false max-parallel: 12 matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] os: [ubuntu-latest, macos-latest, windows-latest] include: - os: ubuntu-latest @@ -44,15 +44,20 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies (pip) + - name: Install dependencies (pip) (macOS) + if: matrix.os == 'macos-latest' + run: | + pip install -e .[test,extras-macos] + + - name: Install dependencies (pip) (Windows, Linux) + if: matrix.os != 'macos-latest' run: | pip install -e .[test,extras] - # TODO: uncomment this step when integration tests are fixed - # - name: Disable numba JIT for codecov to include jitted methods - # if: (matrix.python-version == 3.10) && (matrix.os == 'ubuntu-latest') - # run: | - # echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV + - name: Disable numba JIT for codecov to include jitted methods + if: (matrix.python-version == 3.10) && (matrix.os == 'ubuntu-latest') + run: | + echo "NUMBA_DISABLE_JIT=1" >> $GITHUB_ENV - name: Running tests run: