Created
October 25, 2018 21:41
-
-
Save ipmb/28355a53c93c682e11e3319320894be2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shiv -o test.pyz -e pytest:main . | |
./test.pyz --pyargs my_tests | |
echo $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_test(): | |
assert 1 == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup | |
setup(name="test", version="0.1", py_modules=["my_tests"], install_requires=["pytest"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment