feat: add tests and docs #31
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Check | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
ignore-nothing-to-cache: true | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: | | |
docker run --rm -d -p 5432:5432 --name vdb -e POSTGRES_PASSWORD=postgres tensorchord/vchord-postgres:pg17-v0.2.1 | |
make test | |
docker stop vdb |