mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-24 09:28:21 -04:00
gitlab-ci: pytest: unlock 'nobody' account for su integration tests to work
This commit is contained in:
parent
eadbdc891a
commit
cd4b2cbf37
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ pytest:
|
|||
- 'echo "kupfer ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/kupfer_all'
|
||||
- useradd -m kupfer
|
||||
- chmod 777 .
|
||||
- usermod --unlock --expiredate="" nobody
|
||||
script:
|
||||
- script -e -c 'su kupfer -s /bin/bash -c "INTEGRATION_TESTS_USE_GLOBAL_CONFIG=TRUE KUPFERBOOTSTRAP_WRAPPED=DOCKER ./pytest.sh --junit-xml=pytest-report.xml --cov-report=xml:coverage.xml integration_tests.py"'
|
||||
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue