Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update run_tests.yml

arnavsinghvi11cc21d976f88e
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml
index 06c1c6f6e..b4cd58fa6 100644
--- a/.github/workflows/run_tests.yml
+++ b/.github/workflows/run_tests.yml
@@ -24,7 +24,7 @@ jobs:
id: ruff_fix
uses: chartboost/ruff-action@v1
with:
- args: --fix-only --exit-non-zero-on-fix
+ args: check --fix-only --exit-non-zero-on-fix
continue-on-error: true
- name: Fail Workflow if Ruff Fix Failed
if: steps.ruff_fix.outcome == 'failure'
@@ -60,7 +60,7 @@ jobs:
- name: Run lint with tests
uses: chartboost/ruff-action@v1
with:
- args: --fix-only
+ args: check --fix-only
- name: Run tests with pytest
run: poetry run pytest tests/