Skip to content

Commit

Permalink
fix:gha
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 25, 2023
1 parent 9e95ff8 commit a91ef4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
redis-image: "redis/redis-stack-server:7.2.0-v0"
redis-py: "5.0.0"
lupa: true
json: true
extra: true
coverage: true
hypothesis: true

Expand Down Expand Up @@ -99,11 +99,11 @@ jobs:
- name: Install lupa
if: ${{ matrix.lupa }}
run: |
poetry run pip install fakeredis[lua]
poetry run pip install "fakeredis[lua]"
- name: Install json
if: ${{ matrix.json }}
if: ${{ matrix.extra }}
run: |
poetry run pip install fakeredis[json]
poetry run pip install "fakeredis[json,bf]"
- name: Get version
id: getVersion
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions test/test_stack/test_bloomfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

from fakeredis import _msgs as msgs

json_tests = pytest.importorskip("pybloom_live")


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

0 comments on commit a91ef4d

Please sign in to comment.