Skip to content

Commit b94adec

Browse files
committed
Remove pytest-redislite. (#176)
1 parent fffae73 commit b94adec

File tree

5 files changed

+95
-84
lines changed

5 files changed

+95
-84
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ jobs:
140140
uses: "networktocode/gh-action-setup-poetry-environment@v2"
141141
with:
142142
python-version: "${{ matrix.python-version }}"
143+
- name: "Install redis"
144+
run: "sudo apt-get install -y redis"
143145
- name: "Run poetry Install"
144146
run: "poetry install"
145147
- name: "Run Tests"

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ ARG PYTHON_VER
22

33
FROM python:${PYTHON_VER}-slim
44

5-
RUN apt-get update \
6-
&& apt-get install -y --no-install-recommends build-essential
5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
build-essential \
7+
redis \
8+
&& rm -rf /var/lib/apt/lists/*
79

810
RUN pip install --upgrade pip \
911
&& pip install poetry
1012

13+
1114
WORKDIR /local
1215
COPY pyproject.toml /local
1316
COPY poetry.lock /local

poetry.lock

Lines changed: 69 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sphinx-rtd-theme = "*"
4646
toml = "*"
4747
types-toml = "*"
4848
types-redis = "*"
49-
pytest-redislite = { version = "^0.1.0", python = "^3.7"}
49+
pytest-redis = "^2.4.0"
5050

5151
[tool.black]
5252
line-length = 120

0 commit comments

Comments
 (0)