mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Don't run pytest CI jobs on push to forks (#66870)
This commit is contained in:
parent
8e39ba387d
commit
728dfa2581
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -718,8 +718,10 @@ jobs:
|
|||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.inputs.lint-only != 'true' && (
|
if: |
|
||||||
needs.changes.outputs.test_full_suite == 'true' || needs.changes.outputs.tests_glob)
|
(github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')
|
||||||
|
&& github.event.inputs.lint-only != 'true'
|
||||||
|
&& (needs.changes.outputs.test_full_suite == 'true' || needs.changes.outputs.tests_glob)
|
||||||
needs:
|
needs:
|
||||||
- changes
|
- changes
|
||||||
- gen-requirements-all
|
- gen-requirements-all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user