1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-09-07 22:20:56 +00:00

tests: Handle forking

This commit is contained in:
2017-05-03 07:04:52 +00:00
parent 8f9da9c2f1
commit 649863a77e
9 changed files with 256 additions and 211 deletions

View File

@@ -20,7 +20,10 @@ script:
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo adduser --system --no-create-home --group certidude
- sudo py.test -s -v --cov-report xml --cov=certidude tests/
- sudo coverage run --parallel-mode --source certidude -m py.test tests
- sudo coverage combine
- sudo coverage report
- sudo coverage xml
cache:
directories:
- $HOME/.cache/pip