Skip to content

Commit

Permalink
don't doctest on macos-14 for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Mar 8, 2024
1 parent b5dadc8 commit e8db666
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Test docstring examples with doctest
if: matrix.python-version == '3.11'
# TODO: Don't currently try to match amd64 and arm64 floating point for docs, but will in the future.
if: matrix.python-version == '3.11' && matrix.os != 'macos-14'
run: coverage run --data-file=.coverage-doctest --module pytest src/ README.rst

- name: Coverage report for doctest only
if: matrix.python-version == '3.11'
if: matrix.python-version == '3.11' && matrix.os != 'macos-14'
run: |
coverage report --data-file=.coverage-doctest
coverage xml --data-file=.coverage-doctest -o doctest-coverage.xml
Expand Down

0 comments on commit e8db666

Please sign in to comment.