Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

feat(tests): add integration test to CI.

Amir Mehr965fbf35109c
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index 07062257a..974dd9c68 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -120,3 +120,22 @@ jobs:
cache: "poetry"
- name: Run setup.py build
run: python setup.py build
+
+ integration_test:
+ name: Run Integration Tests
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: ["3.9"]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up python ${{ matrix.python-version }}
+ uses: actions/setup-python@v5
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: pip install -r requirements.txt
+ - name: Install dev dependencies
+ run: pip install -r requirements-dev.txt
+ - name: Run tests with pytest
+ run: pytest tests_integration/