From ec6a450d961deececa30503ebc8a2a8da682181d Mon Sep 17 00:00:00 2001 From: gonfeco Date: Wed, 13 Sep 2023 12:26:28 +0200 Subject: [PATCH] prueba --- .github/workflows/python-app.yml | 10 +++++----- setup.py | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) 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",