Skip to content

Commit

Permalink
Fix doctest & mypy CI jobs (#6535)
Browse files Browse the repository at this point in the history
* Fix doctest & mypy CI jobs
  • Loading branch information
max-sixty authored Apr 28, 2022
1 parent 8cf9e57 commit 8e4af26
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8e4af26

Please sign in to comment.