Skip to content

Update main.yml

Update main.yml #21

Workflow file for this run

name: unit-tests
on:
pull_request:
paths-ignore:
- 'demos/**'
push:
branches:
- main
jobs:
unit-test-python:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.10", "3.11.0-rc.2", "3.12"]
os: [ ubuntu-latest, macos-13, macos-latest ]
exclude:
- os: macos-13
python-version: "3.9"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Get uv cache dir
id: uv-cache
run: |
echo "::set-output name=dir::$(uv cache dir)"
- name: Install dependencies
run: pip install sqlite_vec==v0.1.0
- name: run script
run: python sqlite_vec_demo.py