Skip to content
Snippets Groups Projects
Commit b4d64de8 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

ci: do not run as root when testing on alpine

parent ac808353
No related branches found
No related tags found
1 merge request!63CI tweaks and refactorings
......@@ -8,7 +8,9 @@
image: registry.heptapod.net:443/mercurial/hg-git/ci:py$PYTHON-hg-$HG
timeout: 5m
script:
- python$PYTHON tests/run-tests.py -v --xunit $PWD/tests-$PYTHON-$HG.xml --color=always
- adduser -D test
- chown -R test *
- su test -c contrib/ci.sh
artifacts:
reports:
junit: tests-$PYTHON-$HG.xml
......
#!/bin/sh
set -x
exec python$PYTHON tests/run-tests.py \
--verbose --color=always \
--xunit $PWD/tests-$PYTHON-$HG.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment