Remove sudo from Gitlab CI job

This commit is contained in:
Iain Learmonth 2022-04-08 14:09:03 +01:00
parent e32107de11
commit 3a10338b3a

View file

@ -3,7 +3,7 @@ image: python:3.8-bullseye
test: test:
stage: test stage: test
script: script:
- sudo apt install build-essential - apt install build-essential
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -U sphinx sphinx-press-theme - pip install -U sphinx sphinx-press-theme
- sphinx-build -b html docs public - sphinx-build -b html docs public
@ -13,7 +13,7 @@ test:
pages: pages:
stage: deploy stage: deploy
script: script:
- sudo apt install build-essential - apt install build-essential
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -U sphinx sphinx-press-theme - pip install -U sphinx sphinx-press-theme
- sphinx-build -b html docs public - sphinx-build -b html docs public