Continue progress go database/sql driver, add tests and CI

This commit is contained in:
PThorpe92
2025-01-28 10:58:26 -05:00
parent ac188808b6
commit bf6b80edab
13 changed files with 682 additions and 289 deletions

43
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Go Tests
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
env:
working-directory: bindings/go
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.working-directory }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust(stable)
uses: dtolnay/rust-toolchain@stable
- name: Set up go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: build Go bindings library
run: cargo build --package limbo-go
- name: run Go tests
env:
LD_LIBRARY_PATH: ${{ github.workspace }}/target/debug:$LD_LIBRARY_PATH
run: go test