Skip to content

Commit 62535e1

Browse files
authored
Update test.yml
1 parent 9de0ccb commit 62535e1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,18 @@ jobs:
165165
python-version: ${{ matrix.py_version }}
166166
allow-prereleases: true
167167

168+
- name: install mlir-python-extras
169+
shell: bash
170+
env:
171+
BRANCH: ${{ github.head_ref || github.ref_name }}
172+
run: |
173+
174+
SCRIPT_ADDRESS="https://raw.githubusercontent.com/makslevental/mlir-python-extras/refs/heads/${BRANCH}/scripts/get_latest_bindings.py"Add commentMore actions
175+
curl $SCRIPT_ADDRESS -o get_latest_bindings.py
176+
LATEST_VERSION=$(python get_latest_bindings.py "none")
177+
pip install mlir_python_bindings==$LATEST_VERSION -f https://makslevental.github.io/wheels
178+
pip install "git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
179+
168180
- name: Test jupyter notebooks
169181
# sed: can't read C:\hostedtoolcache\windows\Python\3.12.10\x64/jupyter_client/runapp.py: No such file or directory
170182
if: matrix.os != 'windows-2022'

0 commit comments

Comments
 (0)