Skip to content

Commit

Permalink
Fix test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaredoug committed Nov 14, 2023
1 parent 5aaaa6a commit 522d9a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
python -m pytest test/ --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test: deps
python -m pytest test


build: deps
build: deps test
@echo "Building..."
python3 -m build --sdist
python3 -m build --wheel
Expand All @@ -57,3 +57,5 @@ help:
@echo " clean Clean build files"
@echo " help Show this help message"
@echo " publish Publish package to PyPI"

.DEFAULT_GOAL := build

0 comments on commit 522d9a9

Please sign in to comment.