From be6b9c8a7cdb6fef90e237bbce85efaba4571b49 Mon Sep 17 00:00:00 2001 From: scito Date: Sun, 1 Jan 2023 00:57:18 +0100 Subject: [PATCH] ci: mypy only for latest Python on ubuntu --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 167c870..907c5c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: run: | mypy --install-types --non-interactive src/*.py tests/*.py mypy --strict src/*.py tests/*.py - if: matrix.python-version == '3.x' + if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest' - name: Test with pytest run: pytest if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest')