Create tests.yml

This commit is contained in:
Ishaan Jaff 2023-07-31 11:16:12 -07:00 committed by GitHub
parent 3a1e06fc47
commit e056b21f45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Python Tests
on: [push, pull_request]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x # Replace 'x' with the desired version (e.g., 3.6, 3.7, 3.8)
- name: Install dependencies
run: pip install -r litellm/requirements.txt
- name: Run tests
run: pytest litellm/tests