Skip to content

Commit

Permalink
Update Makefile to use pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone committed Nov 10, 2023
1 parent 242a67e commit 5984232
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,19 @@ installext:
${PYTHON} setup.py --with-libyaml install ${PARAMETERS}

test: build
${PYTHON} tests/lib/test_build.py ${TEST}
PYYAML_FORCE_LIBYAML=0 ${PYTHON} -m pytest

testext: buildext
${PYTHON} tests/lib/test_build_ext.py ${TEST}
PYYAML_FORCE_LIBYAML=1 ${PYTHON} -m pytest

testall:
${PYTHON} setup.py test
${PYTHON} -m pytest

dist:
@# No longer uploading a zip file to pypi
@# ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar
${PYTHON} setup.py --with-libyaml sdist --formats=gztar

windist:
${PYTHON} setup.py --with-libyaml bdist_wininst

clean:
${PYTHON} setup.py --with-libyaml clean -a
rm -fr \
Expand Down

0 comments on commit 5984232

Please sign in to comment.