Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Rename workflow

Isaac Miller958cd6a1cfb5
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index f5c8d5f3f..e57c6ff0f 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -1,4 +1,4 @@
-name: Check for Ruff Fix, Test, and Build
+name: Lint, Test, and Build
on:
pull_request:
@@ -40,9 +40,10 @@ jobs:
path: ruff_fix_outcome.txt
- name: Fail Workflow if Ruff Fix Failed
- if: env.RUFF_FAILED == 'true'
+ if: steps.ruff_fix.outcome == 'failure'
run: |
echo "Ruff fix failed, failing the workflow."
+ echo "Please run 'ruff check . --fix-only' locally and push the changes."
exit 1
test: