mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Fix running redis in tests
This commit is contained in:
parent
be435df18d
commit
4959ed3641
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -226,6 +226,9 @@ jobs:
|
||||
cd "${GITHUB_WORKSPACE}/${{ matrix.plugin }}"
|
||||
pip install -e .
|
||||
|
||||
- name: Install redis
|
||||
run: sudo apt-get install redis-server
|
||||
|
||||
- name: Setup database
|
||||
run: |
|
||||
export PGHOST=localhost
|
||||
|
||||
@ -12,3 +12,5 @@ filterwarnings =
|
||||
ignore::UserWarning
|
||||
# port_for via pytest-redis
|
||||
ignore:Sampling from a set deprecated:DeprecationWarning:port_for
|
||||
; use redis-server from $PATH
|
||||
redis_exec = redis-server
|
||||
|
||||
@ -12,3 +12,5 @@ filterwarnings =
|
||||
ignore::UserWarning
|
||||
# port_for via pytest-redis
|
||||
ignore:Sampling from a set deprecated:DeprecationWarning:port_for
|
||||
; use redis-server from $PATH
|
||||
redis_exec = redis-server
|
||||
|
||||
@ -12,3 +12,5 @@ filterwarnings =
|
||||
ignore::UserWarning
|
||||
# port_for via pytest-redis
|
||||
ignore:Sampling from a set deprecated:DeprecationWarning:port_for
|
||||
; use redis-server from $PATH
|
||||
redis_exec = redis-server
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user