Set the SQLALCHEMY_DATABASE_URI env differently
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Brain 2024-09-13 15:49:24 +02:00
parent 862bd9f7a3
commit 5f27eaa9a1
Signed by: Brain
GPG Key ID: EE936E31EE3AEE7A

View File

@ -19,7 +19,6 @@ steps:
env:
PYROOT: '/pyroot'
PYTHONUSERBASE: '/pyroot'
SQLALCHEMY_DATABASE_URI: 'sqlite://'
commands:
- apk add --no-cache gcc g++ musl-dev python3-dev
- pip3 install pipenv
@ -27,7 +26,7 @@ steps:
- pipenv install --dev
- pipenv run flake8
- pipenv run reuse lint
- pipenv run python -m unittest discover ki
- SQLALCHEMY_DATABASE_URI=sqlite:// pipenv run python -m unittest discover ki
- name: docker-dry-run
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
settings:
@ -109,14 +108,13 @@ steps:
env:
PYROOT: '/pyroot'
PYTHONUSERBASE: '/pyroot'
SQLALCHEMY_DATABASE_URI: 'sqlite://'
commands:
- apk add --no-cache gcc g++ musl-dev python3-dev
- pip3 install pipenv
- pipenv install --dev
- pipenv run flake8
- pipenv run reuse lint
- pipenv run python -m unittest discover ki
- SQLALCHEMY_DATABASE_URI=sqlite:// pipenv run python -m unittest discover ki
- name: docker-publish
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
settings: