Skip to content

Commit

Permalink
Measure coverage of the test code (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Aug 30, 2019
1 parent 2610e00 commit f1d46cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ install:
- pip install -r requirements-test.txt
- pip install coveralls wheel
script:
- py.test -n 0 --cov src/pytest_postgresql
- py.test -n 0
after_success:
- coveralls
jobs:
include:
- stage: xdist
python: 3.7
script: py.test -n 1 --cov src/pytest_postgresql tests
script: py.test -n 1
- stage: linters
python: 3.7
install:
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[pytest]
addopts = --max-slave-restart=0 --showlocals --verbose
addopts = --max-slave-restart=0 --showlocals --verbose --cov src/pytest_postgresql --cov tests
postgresql_exec = /usr/lib/postgresql/9.6/bin/pg_ctl
testpaths = tests
xfail_strict = true

0 comments on commit f1d46cc

Please sign in to comment.