From e056b21f4599ef2831de50528bec40033ca714fe Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 31 Jul 2023 11:16:12 -0700 Subject: [PATCH] Create tests.yml --- .github/workflows/tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000000..c855be7aac --- /dev/null +++ b/.github/workflows/tests.yml @@ -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