Skip to content

Commit

Permalink
.github: Explicitly install Postgres in platform tests
Browse files Browse the repository at this point in the history
It appears that Github no longer preinstalls Postgres in their macOS
images, so do this explicitly.
  • Loading branch information
elprans committed Jul 14, 2024
1 parent 1194a8a commit 03c5840
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
version_line_pattern: |
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
- name: Setup PostgreSQL
uses: tj-actions/install-postgresql@2a80e9368dff47cd05fee5bf3cf7d88f68c2f8e9 # v3.1.1
if: steps.release.outputs.version == 0 && matrix.os == 'macos-latest'
with:
postgresql-version: 16

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
if: steps.release.outputs.version == 0
Expand Down

0 comments on commit 03c5840

Please sign in to comment.