GitLab CI: Run unit tests as unprivileged user.
This commit is contained in:
parent
1f0312fcbd
commit
617cc2aa6f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue