mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Show diff on ruff failure [ci] (#87635)
This commit is contained in:
parent
b854dd99fc
commit
785b949a82
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -350,14 +350,14 @@ jobs:
|
|||||||
if: needs.info.outputs.test_full_suite == 'true'
|
if: needs.info.outputs.test_full_suite == 'true'
|
||||||
run: |
|
run: |
|
||||||
. venv/bin/activate
|
. 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)
|
- name: Run ruff (partially)
|
||||||
if: needs.info.outputs.test_full_suite == 'false'
|
if: needs.info.outputs.test_full_suite == 'false'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
shopt -s globstar
|
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:
|
lint-isort:
|
||||||
name: Check isort
|
name: Check isort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user