From d604c7e175ed117162681d09770f81ae8677a9f4 Mon Sep 17 00:00:00 2001 From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> Date: Sat, 17 Dec 2022 22:23:06 +0100 Subject: [PATCH] add mypy to actions, but allow failure --- .github/workflows/ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3472e412..96b230c59 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,6 +54,15 @@ jobs: run: | tox -vv -e py-cov + - name: Test latest Python version with tox and mypy + if: matrix.python-version == '3.10' + # continue-on-error is not ideal since it doesn't give a visible + # warning, but there doesn't seem to be anything better: + # https://github.com/actions/toolkit/issues/399 + continue-on-error: true + run: | + tox -vv -e py-mypy + - name: Test nightly Python version with tox if: matrix.python-version == '3.11-dev' # continue-on-error is not ideal since it doesn't give a visible