Skip to content

Commit 36a1109

Browse files
committed
Add pytests back to Makefile and GH workflow
This reverts commit 5f13460.
1 parent 6e4aef3 commit 36a1109

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ jobs:
2727
- name: Lint with flake8
2828
run: |
2929
make check
30+
- name: Test with
31+
run: |
32+
make test

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
SHELL := /bin/bash
22
PYTHON = python3
3-
TEST_PATH = ./tests/
43
FLAKE8_EXCLUDE = venv,.venv,.eggs,.tox,.git,__pycache__,*.pyc
54

65
.PHONY: clean init init-dev test check build docs
@@ -23,6 +22,8 @@ init:
2322
init-dev: init
2423
@pip install -e .[dev]
2524
@mypy pyamplipi --install-types --non-interactive
25+
test:
26+
@${PYTHON} -m pytest
2627

2728
check:
2829
@${PYTHON} -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude ${FLAKE8_EXCLUDE}

0 commit comments

Comments
 (0)