diff --git a/.gitea/workflows/python-tests.yml b/.gitea/workflows/python-tests.yml index f4912161..d88cba40 100644 --- a/.gitea/workflows/python-tests.yml +++ b/.gitea/workflows/python-tests.yml @@ -72,15 +72,12 @@ jobs: python3 -c "import aitbc_crypto; print('✅ aitbc_crypto imported')" python3 -c "import aitbc_sdk; print('✅ aitbc_sdk imported')" - pytest tests/ \ - apps/coordinator-api/tests/ \ - apps/blockchain-node/tests/ \ + pytest tests/archived_phase_tests/ \ + tests/cross_phase/ \ apps/wallet/tests/ \ packages/py/aitbc-crypto/tests/ \ packages/py/aitbc-sdk/tests/ \ - --tb=short -q --timeout=30 --import-mode=importlib \ - --ignore=tests/production \ - --ignore=apps/coordinator-api/tests/test_confidential*.py + --tb=short -q --timeout=30 --import-mode=importlib echo "✅ Python tests completed" diff --git a/pytest.ini b/pytest.ini index 9313718b..a00c2508 100644 --- a/pytest.ini +++ b/pytest.ini @@ -4,6 +4,8 @@ python_files = test_*.py python_classes = Test* python_functions = test_* addopts = -v --tb=short +asyncio_mode = auto +asyncio_default_fixture_loop_scope = function markers = slow: marks tests as slow integration: marks tests as integration tests