Skip to content

filtered-docs-for-demo (#49) #78

filtered-docs-for-demo (#49)

filtered-docs-for-demo (#49) #78

Workflow file for this run

name: Unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev/dev_requirements.txt
- name: Test agent app sample code
run: |
cd agent_app_sample_code
pytest
- name: Test OpenAI SDK sample code
run: |
cd openai_sdk_agent_app_sample_code
pytest