From 785b949a82e159d8d4f06d5786340c9ad26f685d Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:53:26 +0100 Subject: [PATCH] Show diff on ruff failure [ci] (#87635) --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3db21d09ce0..0e48cc8d4b1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -350,14 +350,14 @@ jobs: if: needs.info.outputs.test_full_suite == 'true' run: | . venv/bin/activate - pre-commit run --hook-stage manual ruff --all-files + pre-commit run --hook-stage manual ruff --all-files --show-diff-on-failure - name: Run ruff (partially) if: needs.info.outputs.test_full_suite == 'false' shell: bash run: | . venv/bin/activate shopt -s globstar - pre-commit run --hook-stage manual ruff --files {homeassistant,tests}/components/${{ needs.info.outputs.integrations_glob }}/{*,**/*} + pre-commit run --hook-stage manual ruff --files {homeassistant,tests}/components/${{ needs.info.outputs.integrations_glob }}/{*,**/*} --show-diff-on-failure lint-isort: name: Check isort