Skip to content

tests: move third party tests to subdirectory #46

tests: move third party tests to subdirectory

tests: move third party tests to subdirectory #46

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"]
pgvector: ["v0.5.1", "master"]

Check failure on line 10 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
]
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: third-party-tests
- run: go test -v
working-directory: third-party-tests