Skip to content

Commit 5ffcaf5

Browse files
committed
.github: Explicitly install Postgres in platform tests
It appears that Github no longer preinstalls Postgres in their default runner images, so do this explicitly.
1 parent 1194a8a commit 5ffcaf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/tests.yml

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
version_line_pattern: |
5454
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
5555
56+
- name: Setup PostgreSQL
57+
uses: tj-actions/install-postgresql@2a80e9368dff47cd05fee5bf3cf7d88f68c2f8e9 # v3.1.1
58+
with:
59+
postgresql-version: 16
60+
5661
- name: Set up Python ${{ matrix.python-version }}
5762
uses: actions/setup-python@v4
5863
if: steps.release.outputs.version == 0

0 commit comments

Comments
 (0)