File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 37
37
pip install .[test]
38
38
- name : Test with pytest
39
39
run : |
40
- pytest --cov=mikeio tests --ignore tests/performance/ --ignore tests/notebooks/ --disable-warnings
41
- - name : Test docstrings with doctest
42
- run : make doctest
40
+ make test
43
41
- name : Static type check
44
42
run : make typecheck
45
43
- name : Build package
Original file line number Diff line number Diff line change @@ -12,19 +12,14 @@ format:
12
12
ruff format $(LIB ) /
13
13
14
14
test :
15
- pytest --disable-warnings
15
+ pytest
16
16
17
17
typecheck :
18
18
mypy $(LIB ) /
19
19
20
20
coverage :
21
21
pytest --cov-report html --cov=$(LIB ) tests/
22
22
23
- doctest :
24
- # only test a specific set of files for now
25
- pytest mikeio/dfs/* .py mikeio/dfsu/* .py mikeio/eum/* .py mikeio/pfs/* .py mikeio/spatial/_grid_geometry.py --doctest-modules
26
- rm -f * .dfs* # remove temporary files, created from doctests
27
-
28
23
perftest :
29
24
pytest tests/performance/ --durations=0
30
25
You can’t perform that action at this time.
0 commit comments