diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 12c0fbb..4e42721 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -30,7 +30,7 @@ jobs: pip install -r requirements-dev.txt - name: Run unittests - run: python -m unittest discover tests + run: make unittests flake8-lint: runs-on: ubuntu-latest diff --git a/makefile b/makefile index 0bd7429..da2f1ab 100644 --- a/makefile +++ b/makefile @@ -31,6 +31,11 @@ upload: docs: $(MAKE) -C docs/ html +test: unittests + +unittests: + python -m unittest discover tests + clean: rm -f dist/* rm -rf docs/_build docs/_static docs/_templates