From 057d2d19e9dcbbc46906d8778558e2ae19cced78 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Mon, 23 Dec 2024 20:56:08 +0800 Subject: [PATCH] fix: must in api files Signed-off-by: yihong0618 --- .github/workflows/api-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 941bc8dd218545..b62caf683686be 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -41,8 +41,6 @@ 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 @@ -59,6 +57,12 @@ jobs: - name: Run Tool run: poetry run -C api bash dev/pytest/pytest_tools.sh + - name: Run mypy + run: + pushd api + poetry run -C api mypy ./api --config-file=./api/mypy.ini + popd + - name: Set up dotenvs run: | cp docker/.env.example docker/.env