DSPy: The framework for programming—not prompting—language models
Python
separate comment
Isaac Millerc17c14f1118c
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.ymlindex 83c11eb10..2e9451d39 100644--- a/.github/workflows/run_tests.yml+++ b/.github/workflows/run_tests.yml@@ -23,8 +23,14 @@ jobs:with:args: --fix-only --exit-non-zero-on-fixcontinue-on-error: true # Continue to next step if this step fails- - name: Check outcome- if: ${{ failure() }}++ comment_if_ruff_fail:+ name: Comment on Ruff Failure+ runs-on: ubuntu-latest+ needs: fix+ if: ${{ failure() && needs.fix.result == 'failure' }}+ steps:+ - name: Comment on Ruff Failureuses: actions/github-script@v6with:script: |@@ -37,7 +43,6 @@ jobs:body: message});core.setFailed("Automated Ruff fixes failed. A comment has been posted on the PR.");-test:name: Run Testsruns-on: ubuntu-latest