Skip to content

Commit 8a73bab

Browse files
committed
ci(python): fix metric enum in tests and remove deprecated macos-13 runner
1 parent 932ccad commit 8a73bab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/BuildAndPublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
platform: [windows-latest, macos-latest, macos-13, ubuntu-latest]
19+
platform: [windows-latest, macos-latest, ubuntu-latest]
2020

2121
runs-on: ${{ matrix.platform }}
2222

python/tests/test_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __repr__(self):
121121

122122
@pytest.mark.parametrize("conf", configurations)
123123
def test_search(conf: Configuration):
124-
if IS_MACOS_M1 and conf.metric == Metric.InnerProduct:
124+
if IS_MACOS_M1 and conf.metric == Metric.FP32_InnerProduct:
125125
pytest.skip("This test is skipped on macOS with M1 chip, as avx2 is not supported on m1 chip.")
126126

127127
k = 10

0 commit comments

Comments
 (0)