mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): modify db configuration for new tests
A user that can create databases is now required for tests, we use the 'root' user in Docker. Added docker services: --------------------- - mariadb_test - host localhost:13307 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
fa43f6bc3e
commit
fa26c8078b
12 changed files with 53 additions and 79 deletions
|
@ -12,12 +12,6 @@ bash $dir/run-sharness.sh
|
|||
# Pass --silence to avoid reporting coverage. We will do that below.
|
||||
bash $dir/run-pytests.sh --no-coverage
|
||||
|
||||
# Export SQLite aurweb configuration.
|
||||
export AUR_CONFIG=conf/config.sqlite
|
||||
|
||||
# Run Python tests.
|
||||
bash $dir/run-pytests.sh --no-coverage
|
||||
|
||||
make -C test coverage
|
||||
|
||||
# /cache is mounted as a volume. Copy coverage into it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue