Skip to content

Commit a91ef4d

Browse files
committed
fix:gha
1 parent 9e95ff8 commit a91ef4d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
redis-image: "redis/redis-stack-server:7.2.0-v0"
6565
redis-py: "5.0.0"
6666
lupa: true
67-
json: true
67+
extra: true
6868
coverage: true
6969
hypothesis: true
7070

@@ -99,11 +99,11 @@ jobs:
9999
- name: Install lupa
100100
if: ${{ matrix.lupa }}
101101
run: |
102-
poetry run pip install fakeredis[lua]
102+
poetry run pip install "fakeredis[lua]"
103103
- name: Install json
104-
if: ${{ matrix.json }}
104+
if: ${{ matrix.extra }}
105105
run: |
106-
poetry run pip install fakeredis[json]
106+
poetry run pip install "fakeredis[json,bf]"
107107
- name: Get version
108108
id: getVersion
109109
shell: bash

test/test_stack/test_bloomfilter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
from fakeredis import _msgs as msgs
55

6+
json_tests = pytest.importorskip("pybloom_live")
7+
68

79
def test_bf_add(r: redis.Redis):
810
assert r.bf().add('key', 'value') == 1

0 commit comments

Comments
 (0)