a
continuous-integration/woodpecker the build failed Details

This commit is contained in:
Ferdinand Thiessen 2021-12-22 00:25:51 +01:00
parent aa450738a0
commit 0ecdd28a0b
2 changed files with 7 additions and 4 deletions

View File

@ -2,13 +2,14 @@ pipeline:
install: install:
image: python:${PYTHON}-slim image: python:${PYTHON}-slim
commands: commands:
- apt update - python -m venv --clear venv
- apt install libmariadb-dev gcc -y - source venv/bin/activate
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
- pip install -v ".[tests]" - pip install -v ".[tests]"
test: test:
image: python:${PYTHON}-slim image: python:${PYTHON}-slim
commands: commands:
- source venv/bin/activate
- python -m pytest - python -m pytest

View File

@ -29,13 +29,15 @@ install_requires =
sqlalchemy>=1.4.26 sqlalchemy>=1.4.26
toml toml
werkzeug werkzeug
PyMySQL;platform_system=='Windows'
mysqlclient;platform_system!='Windows'
[options.extras_require] [options.extras_require]
argon = argon2-cffi argon = argon2-cffi
ldap = flask_ldapconn; ldap3 ldap = flask_ldapconn; ldap3
tests = pytest; pytest-depends; coverage tests = pytest; pytest-depends; coverage
mysql =
PyMySQL;platform_system=='Windows'
mysqlclient;platform_system!='Windows'
[options.package_data] [options.package_data]
* = *.toml * = *.toml