Skip to content

Commit

Permalink
Add Makefile and include it into ci
Browse files Browse the repository at this point in the history
  • Loading branch information
balancy committed Oct 3, 2023
1 parent b5fe4d8 commit ca869a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,5 @@ jobs:
- name: Install dependencies
run: poetry install --with dev

- name: flake8 lint
run: poetry run flake8

- name: mypy type check
run: poetry run mypy .

- name: Test with pytest
run: poetry run pytest
- name: Check types, lint, and test
run: make check
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
check: lint typecheck test

test:
poetry run pytest

lint:
poetry run flake8

typecheck:
poetry run mypy .

0 comments on commit ca869a1

Please sign in to comment.