File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ jobs:
29
29
python-version : ${{ matrix.python-version }}
30
30
allow-prereleases : true
31
31
32
- - name : Install Python dependencies
32
+ - name : Upgrade pip
33
33
run : |
34
34
python -m pip install --upgrade pip
35
- python -m pip install --upgrade pytest pytest-cov pytest-xdist
36
35
37
36
- name : Install cycler
38
37
run : |
39
- python -m pip install --no-deps .
38
+ python -m pip install .[tests]
40
39
41
40
- name : Run pytest
42
41
run : |
Original file line number Diff line number Diff line change @@ -25,6 +25,19 @@ keywords = ["cycle kwargs"]
25
25
homepage = " https://matplotlib.org/cycler/"
26
26
repository = " https://github.com/matplotlib/cycler"
27
27
28
+ [project .optional-dependencies ]
29
+ docs = [
30
+ " ipython" ,
31
+ " matplotlib" ,
32
+ " numpydoc" ,
33
+ " sphinx" ,
34
+ ]
35
+ tests = [
36
+ " pytest" ,
37
+ " pytest-cov" ,
38
+ " pytest-xdist" ,
39
+ ]
40
+
28
41
[tool .setuptools ]
29
42
packages = [" cycler" ]
30
43
You can’t perform that action at this time.
0 commit comments