Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

feat(tests): show ruff errors.

Amir Mehrf0bd17db4275
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index b947fd3e8..8bfae24be 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -23,10 +23,12 @@ jobs:
- name: Ruff Fix Attempt
id: ruff_fix
uses: chartboost/ruff-action@v1
- with:
- args: --fix-only --exit-non-zero-on-fix
+ run: |
+ ruff check . --fix-only --exit-non-zero-on-fix | tee output.txt
continue-on-error: true
-
+ - name: Print Ruff Fix Output
+ run: |
+ cat output.txt
- name: Fail Workflow if Ruff Fix Failed
if: steps.ruff_fix.outcome == 'failure'
run: |