2023-06-16 15:30:12 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
image:
|
|
|
|
tasks:
|
|
|
|
-
|
|
|
|
steps:
|
|
|
|
- name: backend
|
|
|
|
image: python:alpine
|
|
|
|
commands:
|
|
|
|
- cd backend
|
|
|
|
- apk add --no-cache gcc musl-dev python3-dev
|
|
|
|
- pip install --upgrade pip && pip install -r requirements.txt
|
|
|
|
- python3 configure.py
|
2023-07-07 16:45:05 +00:00
|
|
|
- coverage run --parallel-mode --concurrency=multiprocessing manage.py test --parallel=$(nproc) && coverage report
|