Commit 60e7391e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: run noroot test separate

parent 367251fd
Pipeline #5694 passed with stage
in 26 seconds
......@@ -3,4 +3,11 @@
pip install -r requirements.txt
pip install -r requirements-dev.txt
pytest
# noroottest tests will fail/be skipped
# if not executed as a non-root user, so
# we run them as nobody
chmod -R a+w `pwd`
su -s /bin/bash -c "pytest -m noroottest --cov-report= --cov-append" nobody
pytest -m "not noroottest" --cov-report= --cov-append
python -m coverage report -i
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment