Skip to content

Update CMakeLists.txt #65

Update CMakeLists.txt

Update CMakeLists.txt #65

Workflow file for this run

name: Testing
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'CHANGELOG.md'
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
chroma-no-auth:
image: chromadb/chroma:0.5.7
ports:
- 8080:8000
chroma-with-auth:
image: chromadb/chroma:0.5.7
ports:
- 8081:8000
env:
CHROMA_SERVER_AUTHN_CREDENTIALS: authToken
CHROMA_SERVER_AUTHN_PROVIDER: chromadb.auth.token_authn.TokenAuthenticationServerProvider
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Initialize submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake libssl-dev
- name: Configure CMake
run: cmake -S . -B build
- name: Build
run: cmake --build build
- name: Run tests
run: ctest --test-dir build -C Release --output-on-failure