Skip to content

Commit

Permalink
Run tests against both OpenAI library versions, refs #325
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jan 26, 2024
1 parent 469644c commit 21d7db9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
pydantic: ["==1.10.2", ">=2.0.0"]
openai: ["<1.0", ">=1.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -24,6 +25,7 @@ jobs:
run: |
pip install -e '.[test]'
pip install pydantic${{ matrix.pydantic }}
pip install openai${{ matrix.openai }}
- name: Run tests
run: |
pytest
Expand Down

0 comments on commit 21d7db9

Please sign in to comment.