File tree Expand file tree Collapse file tree 4 files changed +16
-42
lines changed Expand file tree Collapse file tree 4 files changed +16
-42
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,13 @@ jobs:
2828 - name : Install python dependencies
2929 run : |
3030 python -m pip install --upgrade pip
31- pip install .
31+ pip install ".[test]"
3232
3333 - name : Inspect maxplotlib arguments
3434 run : |
3535 maxplotlib -h
3636
3737 - name : Run tests
3838 run : |
39- pytest .
39+ coverage run -m pytest .
40+ coverage report --sort=cover
Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ Install the code and requirements with pip
1616pip install -e .
1717```
1818
19+ Additional dependencies for developers can be installed with
20+
21+ ```
22+ pip install -e ".[dev]"
23+ ```
24+
1925Run the code with
2026
2127```
Original file line number Diff line number Diff line change @@ -18,17 +18,19 @@ dependencies = [
1818 " matplotlib" ,
1919 " pint" ,
2020 " plotly" ,
21+ ]
22+ [project .optional-dependencies ]
23+ test = [
2124 " pytest" ,
25+ " coverage" ,
26+ ]
27+ dev = [
28+ " maxplotlib[test]" ,
2229 " ruff" ,
2330 " black" ,
2431 " isort" ,
2532 " jupyterlab" ,
26- " maxtikzlib @ git+https://github.com/max-models/maxtikzlib.git@main" ,
2733]
28-
29- [project .optional-dependencies ]
30- dev = [" check-manifest" ]
31- test = [" coverage" ]
3234[project .urls ]
3335"Source" = " https://github.com/max-models/maxplotlib"
3436
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments