Skip to content

Commit

Permalink
fix:tox
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Jan 4, 2024
1 parent 750d2f6 commit c2c1676
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ requires =
[testenv]
allowlist_externals =
poetry
docker-compose
podman
usedevelop = True
passenv = DOCKER_HOST
commands =
poetry install --extras "lua json bf" -v
docker-compose -f docker-compose.yml up -d redis7
podman run -d -p 6380:6379 --name redis7 redis/redis-stack-server:7.2.0-v6
poetry run pytest -v
docker-compose -f docker-compose.yml redis7 down
podman stop redis7
podman rm redis7

0 comments on commit c2c1676

Please sign in to comment.