diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 84afccd..0b3c496 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -34,8 +34,8 @@ jobs: - name: show python path run: | python -c "import sys; print('\n'.join(sys.path)); import os; print(os.getcwd())" - #- name: Test with pytest - # run: | - # python -m pytest tests/test_btc_01_pl.py - # python -m pytest tests/test_btc_02_ae.py - # python -m pytest tests/test_btc_03_qpe.py + - name: Test with pytest + run: | + PYTHONPATH=$(pwd) python -m pytest tests/test_btc_01_pl.py + PYTHONPATH=$(pwd) python -m pytest tests/test_btc_02_ae.py + PYTHONPATH=$(pwd) python -m pytest tests/test_btc_03_qpe.py diff --git a/setup.py b/setup.py index 99a705d..2d295c9 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ def run_tests(self): errno = pytest.main([".", "-vv"]) sys.exit(errno) + setup( name="TNBS", version="0.0.1",