From 300a9a86a7a0d4ca9e44cfb246d30b89528a5e9d Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Sun, 19 May 2024 17:11:49 +0000 Subject: [PATCH] ci: add mypy and pre-commit to test workflow --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e46960d..fec7267 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,5 +38,11 @@ jobs: - name: Run static analysis run: hatch fmt --check + - name: Run type check + run: hatch run types:check + + - name: Run pre-commit + run: hatch run pre-commit run --all + - name: Run tests run: hatch test --python ${{ matrix.python-version }} --cover --randomize --parallel --retries 2 --retry-delay 1