diff --git a/.github/workflows/ci-additional.yaml b/.github/workflows/ci-additional.yaml index 323875aecc5..0b4e0f185c7 100644 --- a/.github/workflows/ci-additional.yaml +++ b/.github/workflows/ci-additional.yaml @@ -121,6 +121,7 @@ jobs: doctest: name: Doctests runs-on: "ubuntu-latest" + needs: detect-ci-trigger if: needs.detect-ci-trigger.outputs.triggered == 'false' defaults: run: @@ -157,6 +158,7 @@ jobs: mypy: name: Mypy runs-on: "ubuntu-latest" + needs: detect-ci-trigger if: needs.detect-ci-trigger.outputs.triggered == 'false' defaults: run: @@ -186,8 +188,13 @@ jobs: conda info -a conda list python xarray/util/print_versions.py + - name: Install mypy + run: | + python -m pip install mypy + python -m mypy --install-types --non-interactive + - name: Run mypy - run: mypy + run: python -m mypy min-version-policy: name: Minimum Version Policy