Skip to content

Commit

Permalink
Merge pull request #247 from sibson/make-test
Browse files Browse the repository at this point in the history
factor test command out to makefile, DRY
  • Loading branch information
sibson authored May 18, 2023
2 parents 0cb9544 + 1f79444 commit 8e2aeec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8e2aeec

Please sign in to comment.