Skip to content

Commit 0e44282

Browse files
committed
Add pytest-postgresql as an editable dependency in Pipfile
Removed the editable flag from workflow files to streamline the setup process. This change ensures that the editable flag is only specified where necessary, specifically in the Pipfile for pytest-postgresql. Changes: - Added pytest-postgresql as an editable dependency in Pipfile - Removed editable: true from dockerised-postgres.yml, oldest-postgres.yml, and single-postgres.yml Made-with: Cursor
1 parent ae39048 commit 0e44282

5 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/dockerised-postgres.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
allow-prereleases: true
57-
editable: true
5857
- name: Run test noproc fixture on docker
5958
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
6059
with:

.github/workflows/oldest-postgres.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
python-version: ${{ matrix.python-version }}
4242
cache: false
4343
allow-prereleases: true
44-
editable: true
4544
- uses: ankane/setup-postgres@v1
4645
with:
4746
postgres-version: ${{ inputs.postgresql }}

.github/workflows/single-postgres.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
allow-prereleases: true
43-
editable: true
4443
- uses: ankane/setup-postgres@v1
4544
with:
4645
postgres-version: ${{ inputs.postgresql }}

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ port-for = "==1.0.0"
99
mirakuru = "==3.0.2"
1010
packaging = "==26.0"
1111
psycopg = "==3.3.3"
12+
pytest-postgresql = {path = ".", editable = true}
1213

1314
[dev-packages]
1415
towncrier = "==25.8.0"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``pytest-postgresql`` as an editable self-install in the Pipfile, removing the need for the ``editable: true`` option in CI workflow steps.

0 commit comments

Comments
 (0)