Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,20 @@ def prepare_env(p: Plugin, workflow: str) -> Tuple[dict, tempfile.TemporaryDirec
env = os.environ.copy()
directory = p.path / ".venv"

if p.framework != "uv":
if p.framework == "uv":
if workflow == "nightly":
cln_path = os.environ["CLN_PATH"]
try:
subprocess.check_call(["uv", "add", "--editable", cln_path + "/contrib/pyln-testing", cln_path + "/contrib/pyln-client", cln_path + "/contrib/pyln-proto"], cwd=p.path.resolve())
except: # noqa: E722
subprocess.check_call(["uv", "add", "--dev", "--editable", cln_path + "/contrib/pyln-testing", cln_path + "/contrib/pyln-client", cln_path + "/contrib/pyln-proto"], cwd=p.path.resolve())
else:
pyln_version = re.sub(r'\.0(\d+)', r'.\1', workflow)
try:
subprocess.check_call(["uv", "add", f"pyln-testing=={pyln_version}", f"pyln-client=={pyln_version}", f"pyln-proto=={pyln_version}"], cwd=p.path.resolve())
except: # noqa: E722
subprocess.check_call(["uv", "add", "--dev", f"pyln-testing=={pyln_version}", f"pyln-client=={pyln_version}", f"pyln-proto=={pyln_version}"], cwd=p.path.resolve())
else:
# Create a temporary directory for virtualenv
vdir = tempfile.TemporaryDirectory()
directory = Path(vdir.name)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
python-version: ["3.9", "3.13"]
bitcoind-version: ["28.1"]
cln-version: ["25.09", "25.05", "25.02"]
cln-version: ["25.09.1", "25.05", "25.02.2"]
experimental: [1]
deprecated: [0]

Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
strategy:
fail-fast: false
matrix:
cln-version: ["25.09", "25.05", "25.02"]
cln-version: ["25.09.1", "25.05", "25.02.2"]
steps:
- uses: actions/checkout@v4
with:
Expand Down
Loading
Loading