Set the SQLALCHEMY_DATABASE_URI env differently
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
862bd9f7a3
commit
5f27eaa9a1
@ -19,7 +19,6 @@ steps:
|
|||||||
env:
|
env:
|
||||||
PYROOT: '/pyroot'
|
PYROOT: '/pyroot'
|
||||||
PYTHONUSERBASE: '/pyroot'
|
PYTHONUSERBASE: '/pyroot'
|
||||||
SQLALCHEMY_DATABASE_URI: 'sqlite://'
|
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache gcc g++ musl-dev python3-dev
|
- apk add --no-cache gcc g++ musl-dev python3-dev
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
@ -27,7 +26,7 @@ steps:
|
|||||||
- pipenv install --dev
|
- pipenv install --dev
|
||||||
- pipenv run flake8
|
- pipenv run flake8
|
||||||
- pipenv run reuse lint
|
- 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
|
- name: docker-dry-run
|
||||||
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
||||||
settings:
|
settings:
|
||||||
@ -109,14 +108,13 @@ steps:
|
|||||||
env:
|
env:
|
||||||
PYROOT: '/pyroot'
|
PYROOT: '/pyroot'
|
||||||
PYTHONUSERBASE: '/pyroot'
|
PYTHONUSERBASE: '/pyroot'
|
||||||
SQLALCHEMY_DATABASE_URI: 'sqlite://'
|
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache gcc g++ musl-dev python3-dev
|
- apk add --no-cache gcc g++ musl-dev python3-dev
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- pipenv install --dev
|
- pipenv install --dev
|
||||||
- pipenv run flake8
|
- pipenv run flake8
|
||||||
- pipenv run reuse lint
|
- 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
|
- name: docker-publish
|
||||||
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user