mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 06:22:21 +01:00
Marietje 4.1: Addition of Django REST framework, Swagger, Dark mode and updates to Django and Bootstrap
This commit is contained in:
@ -4,16 +4,17 @@ stages:
|
||||
|
||||
image: debian:11.3
|
||||
|
||||
pylint:
|
||||
black:
|
||||
stage: test
|
||||
before_script:
|
||||
- apt-get -qq update
|
||||
- apt-get -qq install -y python3 python3-venv python3-pip
|
||||
- python3 -m venv venv
|
||||
- source venv/bin/activate
|
||||
- pip install -r requirements.txt
|
||||
- apt update -qq
|
||||
- apt install -qq -y python3 python3-venv python3-pip python3-dev curl default-libmysqlclient-dev build-essential pkg-config
|
||||
- python3 -m pip install --upgrade pip
|
||||
- curl -sSL https://install.python-poetry.org | python3 -
|
||||
- export PATH="/root/.local/bin:$PATH"
|
||||
- poetry install --with dev
|
||||
script:
|
||||
- pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats
|
||||
- poetry run black --quiet --check marietje
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user