Skip to content

Commit

Permalink
Use macOS 14 in CI (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiedxu authored Jan 31, 2024
1 parent 476bd7d commit bc2cbeb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.9"
- name: Install pre-commit
run: |
pip install pre-commit==2.21.0
Expand All @@ -54,7 +54,14 @@ jobs:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, windows-2022, macos-13]
os: [ubuntu-22.04, windows-2022, macos-13, macos-14]
exclude:
- os: macos-14
python-version: "3.7"
- os: macos-14
python-version: "3.8"
- os: macos-14
python-version: "3.9"
defaults:
run:
shell: bash
Expand Down Expand Up @@ -113,7 +120,14 @@ jobs:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, windows-2022, macos-13]
os: [ubuntu-22.04, windows-2022, macos-13, macos-14, macos-14]
exclude:
- os: macos-14
python-version: "3.7"
- os: macos-14
python-version: "3.8"
- os: macos-14
python-version: "3.9"
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion src/cmdict/pdf_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
try:
# ``import fitz`` still works, if the directory where it comes from
# is empty, so the following command must be used.
from fitz import open
from fitz import open # noqa: A004
except (ImportError, ModuleNotFoundError):
PDF_FEATURES = False
else:
Expand Down

0 comments on commit bc2cbeb

Please sign in to comment.