From cc21d976f88e0ce842cbe2431988d7d1358d249b Mon Sep 17 00:00:00 2001 From: arnavsinghvi11 <54859892+arnavsinghvi11@users.noreply.github.com> Date: Thu, 27 Jun 2024 18:51:39 -0700 Subject: [PATCH] Update run_tests.yml update for failing ruff check --- .github/workflows/run_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/