feat: Adding windows and macos runners #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration test | |
on: | |
pull_request: | |
branches: | |
- main | |
- "**" | |
jobs: | |
integration-test: | |
name: Integration Test - ${{ matrix.chroma-version }} - ${{ matrix.runner }} | |
strategy: | |
matrix: | |
chroma-version: [0.4.24, 0.5.0, 0.5.5 ] | |
runner: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Install Docker | |
if: startsWith(matrix.runner, 'macos') | |
run: | | |
brew install docker | |
brew install colima | |
colima start | |
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'zulu' | |
cache: maven | |
- name: Test with Maven | |
run: mvn --batch-mode clean test | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} | |
HF_API_KEY: ${{ secrets.HF_API_KEY }} | |
CHROMA_VERSION: ${{ matrix.chroma-version }} |