Skip to content

Commit

Permalink
Make Github actions steps run via Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
krypticmouse committed May 20, 2024
1 parent 1d46623 commit 65636ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: Lint
run: |
pip install ruff
ruff check .
make lint
- name: Type check
run: |
pip install pyright
poetry run pyright
make type-check
- name: Test
run: |
pip install pytest
PYTHONPATH=$PYTHONPATH:. poetry run pytest
make test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type-check:
poetry run $(PYRIGHT)

test:
PYTHONPATH=$PYTHONPATH:. $(PYTEST) tests/
PYTHONPATH=$PYTHONPATH:. poetry run $(PYTEST) tests/

build-docs:
$(MKDOCS) build
Expand Down

0 comments on commit 65636ee

Please sign in to comment.