mirror of
https://github.com/daywalker90/cln-nip47.git
synced 2026-08-13 12:33:43 +02:00
tests: move pyproject to tests
This commit is contained in:
parent
65ec413753
commit
7dff9f83e7
4 changed files with 5 additions and 3 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
0
uv.lock → tests/uv.lock
generated
0
uv.lock → tests/uv.lock
generated
Loading…
Add table
Add a link
Reference in a new issue