mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Have pytest generate the coverage files
This commit is contained in:
parent
7d6cae96f3
commit
c4bbb71a3b
@ -18,6 +18,8 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cd src/
|
- cd src/
|
||||||
- pytest
|
- pytest --cov
|
||||||
- pycodestyle
|
- pycodestyle
|
||||||
|
|
||||||
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
1
Pipfile
1
Pipfile
@ -30,6 +30,7 @@ python-gnupg = "*"
|
|||||||
pytz = "*"
|
pytz = "*"
|
||||||
pycodestyle = "*"
|
pycodestyle = "*"
|
||||||
pytest = "*"
|
pytest = "*"
|
||||||
|
pytest-cov = "*"
|
||||||
pytest-django = "*"
|
pytest-django = "*"
|
||||||
pytest-sugar = "*"
|
pytest-sugar = "*"
|
||||||
pytest-env = "*"
|
pytest-env = "*"
|
||||||
|
9
Pipfile.lock
generated
9
Pipfile.lock
generated
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hash": {
|
"hash": {
|
||||||
"sha256": "55577c514e3544ebc24932836e0c06939bc0da36b29733be8e8f168394bf937d"
|
"sha256": "aea42201a211f2a064243b83231fc7e38760f88d620ab6e888512940e715eeaf"
|
||||||
},
|
},
|
||||||
"host-environment-markers": {
|
"host-environment-markers": {
|
||||||
"implementation_name": "cpython",
|
"implementation_name": "cpython",
|
||||||
@ -324,6 +324,13 @@
|
|||||||
],
|
],
|
||||||
"version": "==3.4.1"
|
"version": "==3.4.1"
|
||||||
},
|
},
|
||||||
|
"pytest-cov": {
|
||||||
|
"hashes": [
|
||||||
|
"sha256:890fe5565400902b0c78b5357004aab1c814115894f4f21370e2433256a3eeec",
|
||||||
|
"sha256:03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d"
|
||||||
|
],
|
||||||
|
"version": "==2.5.1"
|
||||||
|
},
|
||||||
"pytest-django": {
|
"pytest-django": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:00995c2999b884a38ae9cd30a8c00ed32b3d38c1041250ea84caf18085589662",
|
"sha256:00995c2999b884a38ae9cd30a8c00ed32b3d38c1041250ea84caf18085589662",
|
||||||
|
@ -31,6 +31,7 @@ pycodestyle==2.3.1
|
|||||||
pyflakes==1.6.0
|
pyflakes==1.6.0
|
||||||
pyocr==0.5
|
pyocr==0.5
|
||||||
pytest==3.4.1
|
pytest==3.4.1
|
||||||
|
pytest-cov==2.5.1
|
||||||
pytest-django==3.1.2
|
pytest-django==3.1.2
|
||||||
pytest-env==0.6.2
|
pytest-env==0.6.2
|
||||||
pytest-forked==0.2
|
pytest-forked==0.2
|
||||||
|
@ -11,5 +11,9 @@ env =
|
|||||||
PAPERLESS_SECRET=paperless
|
PAPERLESS_SECRET=paperless
|
||||||
PAPERLESS_EMAIL_SECRET=paperless
|
PAPERLESS_EMAIL_SECRET=paperless
|
||||||
|
|
||||||
[coverage:paths]
|
|
||||||
source = ./
|
[coverage:run]
|
||||||
|
source =
|
||||||
|
./
|
||||||
|
omit =
|
||||||
|
*/tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user