Skip to content

Commit 4575ef0

Browse files
committed
ci: Fix MacOS test breakages due to no pkg-config
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 9ca59e3 commit 4575ef0

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

.github/fork_workflows/fork_pr_integration_tests_aws.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ jobs:
139139
sudo apt install -y -V libarrow-dev
140140
- name: Install apache-arrow on macos
141141
if: matrix.os == 'macOS-latest'
142-
run: brew install apache-arrow
142+
run: |
143+
brew install apache-arrow
144+
brew install pkg-config
143145
- name: Install dependencies
144146
run: make install-python-ci-dependencies
145147
- name: Setup Redis Cluster

.github/fork_workflows/fork_pr_integration_tests_gcp.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ jobs:
8383
sudo apt install -y -V libarrow-dev
8484
- name: Install apache-arrow on macos
8585
if: matrix.os == 'macOS-latest'
86-
run: brew install apache-arrow
86+
run: |
87+
brew install apache-arrow
88+
brew install pkg-config
8789
- name: Install dependencies
8890
run: make install-python-ci-dependencies
8991
- name: Setup Redis Cluster

.github/fork_workflows/fork_pr_integration_tests_snowflake.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474
sudo apt install -y -V libarrow-dev
7575
- name: Install apache-arrow on macos
7676
if: matrix.os == 'macOS-latest'
77-
run: brew install apache-arrow
77+
run: |
78+
brew install apache-arrow
79+
brew install pkg-config
7880
- name: Install dependencies
7981
run: make install-python-ci-dependencies
8082
- name: Setup Redis Cluster

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
yum install -y --enablerepo=epel arrow-devel # For C++
8585
CIBW_BEFORE_ALL_MACOS: |
8686
brew install apache-arrow
87+
brew install pkg-config
8788
curl -o python.pkg https://www.python.org/ftp/python/3.9.12/python-3.9.12-macosx10.9.pkg
8889
sudo installer -pkg python.pkg -target /
8990
# There's a `git restore` in here because `make install-go-ci-dependencies` is actually messing up go.mod & go.sum.
@@ -111,6 +112,7 @@ jobs:
111112
git restore go.mod go.sum
112113
git restore sdk/python/feast/ui/yarn.lock
113114
brew install apache-arrow
115+
brew install pkg-config
114116
- uses: actions/upload-artifact@v2
115117
with:
116118
name: wheels
@@ -226,7 +228,9 @@ jobs:
226228
sudo apt install -y -V libarrow-dev
227229
- name: Install apache-arrow on macos
228230
if: ${{ matrix.from-source && matrix.os == 'macos-10.15' && matrix.python-version != '3.10' }}
229-
run: brew install apache-arrow
231+
run: |
232+
brew install apache-arrow
233+
brew install pkg-config
230234
- name: Install dist with go
231235
if: ${{ matrix.from-source && (matrix.python-version != '3.10' || matrix.os == 'ubuntu-latest')}}
232236
env:

.github/workflows/master_only.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ jobs:
142142
sudo apt install -y -V libarrow-dev
143143
- name: Install apache-arrow on macos
144144
if: matrix.os == 'macOS-latest'
145-
run: brew install apache-arrow
145+
run: |
146+
brew install apache-arrow
147+
brew install pkg-config
146148
- name: Install dependencies
147149
run: make install-python-ci-dependencies
148150
- name: Setup Redis Cluster

.github/workflows/pr_integration_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ jobs:
168168
sudo apt install -y -V libarrow-dev
169169
- name: Install apache-arrow on macos
170170
if: matrix.os == 'macOS-latest'
171-
run: brew install apache-arrow
171+
run: |
172+
brew install apache-arrow
173+
brew install pkg-config
172174
- name: Install dependencies
173175
run: make install-python-ci-dependencies
174176
- name: Setup Redis Cluster

.github/workflows/unit_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565
sudo apt install -y -V libarrow-dev
6666
- name: Install apache-arrow on macos
6767
if: matrix.os == 'macOS-latest'
68-
run: brew install apache-arrow
68+
run: |
69+
brew install apache-arrow
70+
brew install pkg-config
6971
- name: Install dependencies
7072
run: make install-python-ci-dependencies
7173
- name: Test Python
@@ -96,6 +98,7 @@ jobs:
9698
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
9799
sudo apt update
98100
sudo apt install -y -V libarrow-dev
101+
sudo apt install -y -V pkg-config
99102
- name: Test
100103
run: make test-go
101104

0 commit comments

Comments
 (0)