Skip to content

Commit 62dc90e

Browse files
committed
Add optional dependencies
1 parent ed9353e commit 62dc90e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/run_test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ jobs:
4747
architecture: ${{ matrix.architecture }}
4848

4949
- name: Install Python requirements
50-
run: pip install --upgrade --upgrade-strategy eager .
51-
52-
- name: Install pytest
53-
run: |
54-
pip install pytest
50+
run: pip install --upgrade --upgrade-strategy eager .[dev]
5551

5652
- name: Run tests
5753
run: |

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ dynamic = ["version"]
3333
Source = "https://github.com/moi15moi/FindSystemFontsFilename/"
3434
Tracker = "https://github.com/moi15moi/FindSystemFontsFilename/issues/"
3535

36+
[project.optional-dependencies]
37+
dev = [
38+
"mypy>=1.0.0",
39+
"pytest>=8.0.0",
40+
]
41+
3642
[build-system]
3743
requires = ["setuptools"]
3844
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)