diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e58ac00..7ffd404 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,10 +24,10 @@ jobs: pip install -e ".[dev]" - name: Validate mypy typing run: | - mypy --strict normality + make typecheck - name: Run unit tests run: | - pytest + make test - name: Build a distribution run: | python -m build -nwsx diff --git a/Makefile b/Makefile index 24b0817..e4534a1 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,12 @@ all: clean test install: pip install -q '.[dev]' -test: install +check: test typecheck + +test: pytest + +typecheck: mypy --strict normality clean: