tests: move pyproject to tests

This commit is contained in:
daywalker90 2025-12-09 16:23:34 +01:00
parent 65ec413753
commit 7dff9f83e7
No known key found for this signature in database
4 changed files with 5 additions and 3 deletions

View file

@ -154,5 +154,6 @@ jobs:
export VALGRIND=0
export PYTEST_TIMEOUT=600
cd tests
uv add --dev pyln-testing==${{ inputs.pyln-version }} pyln-client==${{ inputs.pyln-version }} pyln-proto==${{ inputs.pyln-version }}
uv run -v pytest -n=10 tests/test_*.py
uv run -v pytest -n=10

View file

@ -7,8 +7,9 @@ from pathlib import Path
import pytest
RUST_PROFILE = os.environ.get("RUST_PROFILE", "debug")
COMPILED_PATH = Path.cwd() / "target" / RUST_PROFILE / "cln-nip47"
DOWNLOAD_PATH = Path.cwd() / "tests" / "cln-nip47"
plugin_dir = Path(__file__).parent.parent.resolve()
COMPILED_PATH = plugin_dir / "target" / RUST_PROFILE / "cln-nip47"
DOWNLOAD_PATH = plugin_dir / "tests" / "cln-nip47"
@pytest.fixture

View file