Simplify lint-only config (2) [ci] (#139933)
parent
6455daf092
commit
47919fe7e9
|
@ -197,7 +197,9 @@ jobs:
|
||||||
if [[ "${{ github.event.inputs.lint-only }}" == "true" ]] \
|
if [[ "${{ github.event.inputs.lint-only }}" == "true" ]] \
|
||||||
|| [[ "${{ github.event.inputs.pylint-only }}" == "true" ]] \
|
|| [[ "${{ github.event.inputs.pylint-only }}" == "true" ]] \
|
||||||
|| [[ "${{ github.event.inputs.mypy-only }}" == "true" ]] \
|
|| [[ "${{ github.event.inputs.mypy-only }}" == "true" ]] \
|
||||||
|| [[ "${{ github.event.inputs.audit-licenses-only }}" == "true" ]];
|
|| [[ "${{ github.event.inputs.audit-licenses-only }}" == "true" ]] \
|
||||||
|
|| [[ "${{ github.event_name }}" == "push" \
|
||||||
|
&& "${{ github.event.repository.full_name }}" != "home-assistant/core" ]];
|
||||||
then
|
then
|
||||||
lint_only="true"
|
lint_only="true"
|
||||||
skip_coverage="true"
|
skip_coverage="true"
|
||||||
|
@ -842,8 +844,7 @@ jobs:
|
||||||
prepare-pytest-full:
|
prepare-pytest-full:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
if: |
|
if: |
|
||||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
needs.info.outputs.lint_only != 'true'
|
||||||
&& needs.info.outputs.lint_only != 'true'
|
|
||||||
&& needs.info.outputs.test_full_suite == 'true'
|
&& needs.info.outputs.test_full_suite == 'true'
|
||||||
needs:
|
needs:
|
||||||
- info
|
- info
|
||||||
|
@ -896,8 +897,7 @@ jobs:
|
||||||
pytest-full:
|
pytest-full:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
if: |
|
if: |
|
||||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
needs.info.outputs.lint_only != 'true'
|
||||||
&& needs.info.outputs.lint_only != 'true'
|
|
||||||
&& needs.info.outputs.test_full_suite == 'true'
|
&& needs.info.outputs.test_full_suite == 'true'
|
||||||
needs:
|
needs:
|
||||||
- info
|
- info
|
||||||
|
@ -1023,8 +1023,7 @@ jobs:
|
||||||
MYSQL_ROOT_PASSWORD: password
|
MYSQL_ROOT_PASSWORD: password
|
||||||
options: --health-cmd="mysqladmin ping -uroot -ppassword" --health-interval=5s --health-timeout=2s --health-retries=3
|
options: --health-cmd="mysqladmin ping -uroot -ppassword" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||||
if: |
|
if: |
|
||||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
needs.info.outputs.lint_only != 'true'
|
||||||
&& needs.info.outputs.lint_only != 'true'
|
|
||||||
&& needs.info.outputs.mariadb_groups != '[]'
|
&& needs.info.outputs.mariadb_groups != '[]'
|
||||||
needs:
|
needs:
|
||||||
- info
|
- info
|
||||||
|
@ -1156,8 +1155,7 @@ jobs:
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
options: --health-cmd="pg_isready -hlocalhost -Upostgres" --health-interval=5s --health-timeout=2s --health-retries=3
|
options: --health-cmd="pg_isready -hlocalhost -Upostgres" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||||
if: |
|
if: |
|
||||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
needs.info.outputs.lint_only != 'true'
|
||||||
&& needs.info.outputs.lint_only != 'true'
|
|
||||||
&& needs.info.outputs.postgresql_groups != '[]'
|
&& needs.info.outputs.postgresql_groups != '[]'
|
||||||
needs:
|
needs:
|
||||||
- info
|
- info
|
||||||
|
@ -1309,8 +1307,7 @@ jobs:
|
||||||
pytest-partial:
|
pytest-partial:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
if: |
|
if: |
|
||||||
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
needs.info.outputs.lint_only != 'true'
|
||||||
&& needs.info.outputs.lint_only != 'true'
|
|
||||||
&& needs.info.outputs.tests_glob
|
&& needs.info.outputs.tests_glob
|
||||||
&& needs.info.outputs.test_full_suite == 'false'
|
&& needs.info.outputs.test_full_suite == 'false'
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in New Issue