mirror of
https://github.com/romanz/amodem.git
synced 2026-02-24 16:18:12 +08:00
add tests coverage
This commit is contained in:
@@ -2,8 +2,12 @@ language: python
|
||||
python:
|
||||
- "2.7"
|
||||
|
||||
install:
|
||||
install:
|
||||
- "pip install ."
|
||||
- "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