Skip to content

Commit

Permalink
build system
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Oct 7, 2023
1 parent 163842f commit f0613d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ all: clean test
install:
pip install -q '.[dev]'

test: install
check: test typecheck

test:
pytest

typecheck:
mypy --strict normality

clean:
Expand Down

0 comments on commit f0613d0

Please sign in to comment.