Skip to content

tests: move third party tests to subdirectory #45

tests: move third party tests to subdirectory

tests: move third party tests to subdirectory #45

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.21", "1.20"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: go mod tidy
- uses: ankane/setup-postgres@v1
with:
database: pgvector_go_test
dev-files: true
- run: |
cd /tmp
git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git
cd pgvector
make
sudo make install
- run: go test -v
- run: go generate ./ent && go mod tidy
working-directory: ./thid-party-tests
- run: go test -v
working-directory: ./thid-party-tests