make sure we get pg_config on mac

This commit is contained in:
burnettk 2024-04-26 17:03:55 -04:00
parent 00c2e85fee
commit fbc97f5556
No known key found for this signature in database

View File

@ -174,12 +174,12 @@ jobs:
run: docker run --name postgres-spiff -p 5432:5432 -e POSTGRES_PASSWORD=spiffworkflow_backend -e POSTGRES_USER=spiffworkflow_backend -e POSTGRES_DB=spiffworkflow_backend_unit_testing -d postgres
if: matrix.database == 'postgres'
- name: Install mysqlclient lib dependencies
- name: Install mysqlclient and psycopg2 lib dependencies
if: matrix.os == 'macos-latest'
# mysql 8.3 causes failure in poetry install so pin to 8.0. https://github.com/feast-dev/feast/issues/3916
# 8.0 is keg-only, so we have to force link it in order for pkg-config and everything to find it.
run: |
brew install mysql@8.0 pkg-config && brew link mysql@8.0
brew install mysql@8.0 pkg-config postgresql && brew link mysql@8.0
- name: Run Session
run: |