mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Speedup hassfest on single-integration
This commit is contained in:
parent
8300fd2de8
commit
da7db73e5e
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -588,7 +588,13 @@ jobs:
|
||||
- name: Run hassfest
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
python -m script.hassfest --requirements --action validate
|
||||
|
||||
integration_params=""
|
||||
if [[ "${{ needs.info.outputs.integrations_glob }}" != "" && "${{ needs.info.outputs.integrations_glob }}" != *","* ]]; then
|
||||
integration_params=(--integration-path homeassistant/components/${{ needs.info.outputs.integrations_glob }})
|
||||
fi
|
||||
|
||||
python -m script.hassfest --requirements --action validate ${integration_params}
|
||||
|
||||
gen-requirements-all:
|
||||
name: Check all requirements
|
||||
|
Loading…
x
Reference in New Issue
Block a user