Skip to content

Commit a45b39a

Browse files
add
1 parent a543070 commit a45b39a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/test.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ jobs:
3232
uses: actions/setup-python@v2
3333
with:
3434
python-version: ${{ matrix.python-version }}
35-
- name: Depedencies
35+
- uses: actions/checkout@v4
36+
- name: Install Poetry
37+
uses: snok/install-poetry@v1
38+
with:
39+
virtualenvs-create: true
40+
virtualenvs-in-project: true
41+
- name: Install python dependencies
3642
run: |
37-
python -m pip install wheel
38-
python -m pip install pytest pytest-django pytest-cov psycopg2-binary
39-
python setup.py develop
43+
poetry install --sync --no-interaction --no-root --with test
44+
poetry run pip install -e .
4045
4146
- name: Run tests
4247
run: >-

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ python = ">=3.10"
3030
django = ">=5.0.2"
3131
psycopg = ">=3.1.18"
3232

33-
3433
[tool.poetry.group.test.dependencies]
3534
pytest = "^8.0.1"
3635
pytest-django = "^4.8.0"

0 commit comments

Comments
 (0)