mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 22:06:27 +08:00
add tests coverage
This commit is contained in:
@@ -2,8 +2,12 @@ language: python
|
|||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- "pip install ."
|
- "pip install ."
|
||||||
- "pip install -r requirements.txt"
|
- "pip install -r requirements.txt"
|
||||||
|
- "pip install coveralls"
|
||||||
|
|
||||||
script: py.test -vvv
|
script: coverage run --source=amodem tests/run.py
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- coveralls
|
||||||
|
|||||||
2
tests/run.py
Normal file
2
tests/run.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
import pytest
|
||||||
|
pytest.main()
|
||||||
Reference in New Issue
Block a user