forked from phoenix/litellm-mirror
Create tests.yml
This commit is contained in:
parent
3a1e06fc47
commit
e056b21f45
1 changed files with 23 additions and 0 deletions
23
.github/workflows/tests.yml
vendored
Normal file
23
.github/workflows/tests.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue