DSPy: The framework for programming—not prompting—language models
Python
feat(tests): add new pytest-ci.ini
Amir Mehr9c2652de7260
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.ymlindex cb7576074..537c12736 100644--- a/.github/workflows/run_tests.yml+++ b/.github/workflows/run_tests.yml@@ -144,4 +144,4 @@ jobs:ls -laecho "DSP_NOTEBOOK_CACHEDIR=$(pwd)/cache" >> $GITHUB_ENV- name: Run tests with pytest- run: pytest -c tests_integration/pytest.ini tests_integration/+ run: pytest -c tests_integration/pytest-ci.ini tests_integration/diff --git a/tests_integration/pytest-ci.ini b/tests_integration/pytest-ci.ininew file mode 100644index 000000000..3915f3f46--- /dev/null+++ b/tests_integration/pytest-ci.ini@@ -0,0 +1,6 @@+[pytest]+filterwarnings =+ ignore::DeprecationWarning++env =+ DSP_NOTEBOOK_CACHEDIR=${DSP_NOTEBOOK_CACHEDIR}diff --git a/tests_integration/pytest.ini b/tests_integration/pytest.iniindex e73e3c45c..60438fab3 100644--- a/tests_integration/pytest.ini+++ b/tests_integration/pytest.ini@@ -3,4 +3,4 @@ filterwarnings =ignore::DeprecationWarningenv =- DSP_NOTEBOOK_CACHEDIR=/home/runner/work/dspy/dspy/cache+ DSP_NOTEBOOK_CACHEDIR=../cache