mirror of
https://github.com/laurivosandi/certidude
synced 2024-11-16 09:56:44 +00:00
tests: Run tests as root
This commit is contained in:
parent
960e7be1f1
commit
6a8af36c99
@ -17,8 +17,7 @@ install:
|
|||||||
script:
|
script:
|
||||||
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
||||||
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
|
||||||
- sudo chmod 755 /etc/shadow
|
- sudo py.test --cov-report xml --cov=certidude tests/
|
||||||
- py.test --cov-report xml --cov=certidude tests/
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
|
Loading…
Reference in New Issue
Block a user