diff --git a/Jenkinsfile b/Jenkinsfile index ddb892c..6a9f3d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,11 +43,13 @@ pipeline { . .venv/bin/activate pip install coverage pip install --upgrade pip "setuptools==69.5.1" wheel - make EXTRAS="" install + PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.mandelblog.com/mandel/testing/+simple/} pip install --pre --editable . setuptools wheel --upgrade --upgrade-strategy=eager --use-deprecated=legacy-resolver cp "${JOB_BASE_NAME}/ocyan.json" "${JOB_BASE_NAME}/${JOB_BASE_NAME}.json" pip install pylint pylint-django vdt.versionplugin.wheel pip install --upgrade "setuptools==69.5.1" wheel - make migrate loaddata collectstatic + manage.py migrate --no-input + manage.py loaddemodata || true + manage.py collectstatic --no-input --verbosity=0 pip install "httpx<0.28" ''' } @@ -57,7 +59,8 @@ pipeline { sh ''' . .venv/bin/activate pip install coverage - make lint + cat mandelstudio/ocyan.json | python3 -m json.tool 1>/dev/null + pylint setup.py mandelstudio/ ''' } } @@ -66,7 +69,10 @@ pipeline { sh ''' . .venv/bin/activate pip install coverage - make test + coverage run --source='mandelstudio' `which manage.py` test + coverage report + coverage xml + coverage html ''' } post {