aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/run_tests.sh3
-rw-r--r--tox.ini4
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
diff --git a/tox.ini b/tox.ini
index 17d6bdb..3fad742 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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