Skip to content

Integration Build

Integration Build #76

name: Integration Build
on:
schedule:
- cron: '0 12 * * *'
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
scheduled:
runs-on: ubuntu-latest
timeout-minutes: 95
strategy:
matrix:
python-version: [ '3.10' ]
services:
redis:
image: redis:latest
ports:
- 6379:6379
rabbitmq:
image: rabbitmq:latest
env:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: admin
ports:
- 5672:5672
- 15672:15672
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install llm-api dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest-asyncio
pip install -r ./protollm_tools/llm-api/requirements.txt
- name: Test llm-api with pytest
run: |
pytest -s ./protollm_tools/llm-api/tests/integration