Skip to content

Commit 7af7e31

Browse files
committed
add code coverage workflows
1 parent 657fdda commit 7af7e31

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ See [requirements.txt](requirements.txt) file
2323
# Run tests
2424

2525
```bash
26+
pip install -r requirements-dev.txt
27+
# run unit tests
2628
python -m unittest tests
29+
# run code coverage
30+
coverage run --source=pywps -m unittest tests
31+
coverage report -m
2732
```
2833

2934
# Run web application

requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
coverage
12
flake8
23
pylint
34
Sphinx

0 commit comments

Comments
 (0)