Skip to content

Commit aa784cb

Browse files
fixed missing dependencies
1 parent 4fffe21 commit aa784cb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,12 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
python -m pip install --upgrade pip
42-
python -m pip install pytest pytest-cov
43-
python -m pip install -r requirements.txt
44-
python -m pip install -r tests/requirements.txt
4542
4643
- name: Install package
47-
run: python setup.py install
44+
run: python -m pip install ".[dev]""
4845

4946
- name: Generate coverage report
5047
run: |
51-
pip install pytest pytest-cov
5248
pytest --cov --cov-report=xml
5349
5450
- name: Upload coverage to Codecov

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,9 @@ junit_family = "xunit2"
7070
testpaths = ["tests"]
7171

7272
[project.optional-dependencies]
73-
dev = ["pytest", "scikit-learn", "scipy", "sphinx", "sphinx-rtd-theme"]
73+
dev = [
74+
"pytest", "pytest-cov",
75+
"scikit-learn", "scipy",
76+
"sphinx", "sphinx-rtd-theme"
77+
]
7478
examples = ["matplotlib"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2023 Benjamin Thomas Schwertfeger
44
# Github: https://github.com/btschwertfeger
55

6-
import setuptools_scm
6+
import setuptools_scm # pylint: disable=unused-import
77
from setuptools import setup
88

99
setup()

0 commit comments

Comments
 (0)