forked from lancedb/lance
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 924 Bytes
/
benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Run benchmarks
on:
workflow_dispatch:
jobs:
dataset:
timeout-minutes: 30
runs-on: "ubuntu-22.04"
strategy:
matrix:
dataset: ["sift"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: ./.github/workflows/build_linux_wheel
with:
python-minor-version: "10"
- name: Pip install
working-directory: python
run: |
pip install $(ls target/wheels/*.whl)
pip install pandas
- name: Run test
working-directory: benchmarks/${{ matrix.dataset }}
run: |
./test_dataset.sh
- name: Archive results
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.dataset }}-results
path: |
benchmarks/${{ matrix.dataset }}/benchmark.csv