Skip to content

Commit

Permalink
ci: Test on Python 3.12, fix macOS issue, re-enable codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi committed Aug 9, 2024
1 parent 9c90915 commit 2c18004
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 2c18004

Please sign in to comment.