From c34002c20a0850684712654fefdbf7001ffad8d0 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Mon, 23 Dec 2024 20:41:07 +0800 Subject: [PATCH] ci: add test for mypy Signed-off-by: yihong0618 --- .github/workflows/api-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 2cd0b2a7d430de..941bc8dd218545 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -40,6 +40,9 @@ jobs: - name: Install dependencies run: poetry install -C api --with dev + + - name: Run mypy + run: poetry run -C api mypy ./api --config-file=./api/mypy.ini - name: Check dependencies in pyproject.toml run: poetry run -C api bash dev/pytest/pytest_artifacts.sh