Skip to content

Commit c7712f0

Browse files
committed
Enable warnings on test
1 parent 0f29a1a commit c7712f0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/full_test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
pip install .[test]
3838
- name: Test with pytest
3939
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
4341
- name: Static type check
4442
run: make typecheck
4543
- name: Build package

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,14 @@ format:
1212
ruff format $(LIB)/
1313

1414
test:
15-
pytest --disable-warnings
15+
pytest
1616

1717
typecheck:
1818
mypy $(LIB)/
1919

2020
coverage:
2121
pytest --cov-report html --cov=$(LIB) tests/
2222

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-
2823
perftest:
2924
pytest tests/performance/ --durations=0
3025

0 commit comments

Comments
 (0)