Skip to content

Commit 0eee781

Browse files
Removed macos from github workflows
1 parent 446dfbf commit 0eee781

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -61,28 +61,14 @@ jobs:
6161
matrix:
6262
os:
6363
- ubuntu-22.04
64-
- macos-13
6564
# NOTE: There's no pre-built `grpcio` wheel for Python 3.11 yet
6665
# https://github.com/grpc/grpc/issues/32454
6766
python-version:
6867
- "3.9"
6968
- "3.10"
70-
is-pr:
71-
- ${{ github.event_name == 'pull_request' }}
72-
exclude:
73-
# MacOS tests take a lot of time, so we will run them only on merge
74-
# From https://github.com/orgs/community/discussions/26253
75-
- is-pr: true
76-
os: macos-13
7769
runs-on: ${{ matrix.os }}
7870
steps:
7971
- uses: actions/checkout@v4
80-
- name: Setup Docker (missing on MacOS)
81-
if: runner.os == 'macos'
82-
run: ./hack/install-docker-macos.sh
83-
- name: Install OpenMP (in MacOS)
84-
if: runner.os == 'macOS'
85-
run: brew install libomp
8672
- name: Set up Python ${{ matrix.python-version }}
8773
uses: actions/setup-python@v5
8874
with:
@@ -97,15 +83,9 @@ jobs:
9783
virtualenvs-create: false
9884
- name: Install Dependencies
9985
run: |
100-
if [[ ${{ runner.os == 'macOS' }} ]]; then
101-
source ./hack/activate-libomp-macos.sh
102-
fi
10386
poetry install --sync --only dev
10487
- name: Test
10588
run: |
106-
if [[ ${{ runner.os == 'macOS' }} ]]; then
107-
source ./hack/activate-libomp-macos.sh
108-
fi
10989
tox -e mlserver
11090
11191
runtimes:
@@ -114,7 +94,6 @@ jobs:
11494
matrix:
11595
os:
11696
- ubuntu-22.04
117-
- macos-13
11897
python-version:
11998
- "3.9"
12099
- "3.10"
@@ -127,19 +106,9 @@ jobs:
127106
- alibi-explain
128107
- alibi-detect
129108
- catboost
130-
is-pr:
131-
- ${{ github.event_name == 'pull_request' }}
132-
exclude:
133-
# MacOS tests take a lot of time, so we will run them only on merge
134-
# From https://github.com/orgs/community/discussions/26253
135-
- is-pr: true
136-
os: macos-13
137109
runs-on: ${{ matrix.os }}
138110
steps:
139111
- uses: actions/checkout@v4
140-
- name: Install OpenMP (in MacOS)
141-
if: runner.os == 'macOS'
142-
run: brew install libomp
143112
- name: Set up Python ${{ matrix.python-version }}
144113
uses: actions/setup-python@v5
145114
with:
@@ -154,15 +123,9 @@ jobs:
154123
virtualenvs-create: false
155124
- name: Install Dependencies
156125
run: |
157-
if [[ ${{ runner.os == 'macOS' }} ]]; then
158-
source ./hack/activate-libomp-macos.sh
159-
fi
160126
poetry install --sync --only dev
161127
- name: Test
162128
run: |
163-
if [[ ${{ runner.os == 'macOS' }} ]]; then
164-
source ./hack/activate-libomp-macos.sh
165-
fi
166129
tox -c ./runtimes/${{ matrix.tox-environment }}
167130
168131
# Ensure that having all the runtimes installed together works
@@ -173,7 +136,6 @@ jobs:
173136
matrix:
174137
os:
175138
- ubuntu-22.04
176-
- macos-13
177139
python-version:
178140
- "3.9"
179141
- "3.10"
@@ -191,12 +153,6 @@ jobs:
191153
overprovision-lvm: 'true'
192154
swap-size-mb: 1024
193155
- uses: actions/checkout@v4
194-
- name: Setup Docker (missing on MacOS)
195-
if: runner.os == 'macOS'
196-
run: ./hack/install-docker-macos.sh
197-
- name: Install OpenMP (in MacOS)
198-
if: runner.os == 'macOS'
199-
run: brew install libomp
200156
- name: Set up Python ${{ matrix.python-version }}
201157
uses: actions/setup-python@v5
202158
with:
@@ -211,13 +167,7 @@ jobs:
211167
virtualenvs-create: false
212168
- name: Install Dependencies
213169
run: |
214-
if [[ ${{ runner.os == 'macOS' }} ]]; then
215-
source ./hack/activate-libomp-macos.sh
216-
fi
217170
poetry install --sync --only dev
218171
- name: Test
219172
run: |
220-
if [[ ${{ runner.os == 'macOS' }} ]]; then
221-
source ./hack/activate-libomp-macos.sh
222-
fi
223173
tox -e all-runtimes

0 commit comments

Comments
 (0)