Skip to content

github action workflows for test coverage #40

github action workflows for test coverage

github action workflows for test coverage #40

Workflow file for this run

name: Qdrant Test - Go Test
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
services:
qdrant_db:
image: qdrant/qdrant
env:
QDRANT__SERVICE__GRPC_PORT: 6334
ports:
- 6334:6334
- 6333:6333
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
repository: siddhantprateek/qdrant
- name: Start Docker Compose services
run: docker-compose -f docker-compose.yml up -d
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
- name: Run Go tests
run: go test ./...
- name: Clean up Docker Compose services
run: docker-compose -f docker-compose.yml down