diff options
author | Daniel Schadt <kingdread@gmx.de> | 2025-06-08 10:45:29 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2025-06-08 10:45:29 +0200 |
commit | 0e0b63f08e6c5c52df5d12817f78333cca105154 (patch) | |
tree | 9e7a5cd6e5bf491d4b63530a8a19090015ab09fe | |
parent | f95e1394883eb0e1c763b97e403df7c25a08501e (diff) | |
download | fietsboek-0e0b63f08e6c5c52df5d12817f78333cca105154.tar.gz fietsboek-0e0b63f08e6c5c52df5d12817f78333cca105154.tar.bz2 fietsboek-0e0b63f08e6c5c52df5d12817f78333cca105154.zip |
fix postgres connection URL in tests
-rwxr-xr-x | ci/run_tests.sh | 3 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 1ba2836..adf69b7 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -33,7 +33,7 @@ case "$DB" in "postgres") setup_postgres - sed -i 's|^sqlalchemy.url = .*$|sqlalchemy.url = postgresql://postgres:postgres@localhost/postgres"|' testing.ini + sed -i 's|^sqlalchemy.url = .*$|sqlalchemy.url = postgresql://postgres:postgres@localhost/postgres|' testing.ini ;; *) @@ -42,6 +42,7 @@ case "$DB" in ;; esac +pip install tox setup_playwright setup_redis tox -e python -- --browser firefox @@ -11,7 +11,9 @@ envlist = python,pylint,pylint-tests,flake,mypy,black,isort isolated_build = true [testenv] -deps = poetry +deps = + poetry + psycopg2 skip_install = true passenv = TERM |