Skip to content

Commit f8bf1cf

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ 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+
if: steps.release.outputs.version == 0 && matrix.os == "macos-latest"
59+
with:
60+
postgresql-version: 16
61+
5662
- name: Set up Python ${{ matrix.python-version }}
5763
uses: actions/setup-python@v4
5864
if: steps.release.outputs.version == 0

0 commit comments

Comments
 (0)