GitLab CI: Run unit tests as unprivileged user.

This commit is contained in:
s3lph 2018-06-19 22:11:42 +02:00
parent 1f0312fcbd
commit 617cc2aa6f

View file

@ -9,6 +9,7 @@ test:
stage: test stage: test
script: script:
- useradd matemat - useradd matemat
- chmod g+r -R .
- apt-get update -qy - apt-get update -qy
- apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential - apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential
- pip3 install wheel - pip3 install wheel