diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 53a0454c7c5..232ffb424aa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -625,8 +625,8 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 20 if: | - github.event.inputs.mypy-only != 'true' - || github.event.inputs.pylint-only == 'true' + (github.event.inputs.mypy-only != 'true' || github.event.inputs.pylint-only == 'true') + && (needs.info.outputs.tests_glob || needs.info.outputs.test_full_suite == 'true') needs: - info - base @@ -663,7 +663,7 @@ jobs: run: | . venv/bin/activate python --version - pylint --ignore-missing-annotations=y tests/components/${{ needs.info.outputs.integrations_glob }} + pylint --ignore-missing-annotations=y tests/components/${{ needs.info.outputs.tests_glob }} mypy: name: Check mypy