Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/check-self.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ jobs:
PYTEST_OPTS: -n 6
run : |
task clientpy:check
task testing:check
5 changes: 5 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ includes:
taskfile: "libs/gl-client-py/.tasks.yml"
dir: "libs/gl-client-py/"

testing:
taskfile: "libs/gl-testing/.tasks.yml"
dir: "libs/gl-testing/"

docker:
taskfile: "docker/.tasks.yml"
dir: "."
Expand All @@ -28,6 +32,7 @@ tasks:
- ci-build
cmds:
- task: clientpy:check
- task: testing:check
- task: clnvm:check

docker-ci-check:
Expand Down
2 changes: 1 addition & 1 deletion docker/gl-testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ ADD . /repo
WORKDIR /repo

# Populate `uv` cache
RUN uv sync --all-packages --extra dev
RUN uv sync --all-packages --dev

# Populate CLN versions
RUN uv run python3 -m clnvm --verbose get-all
Expand Down
4 changes: 3 additions & 1 deletion libs/gl-client-py/.tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ version: '3'

tasks:
check:
env:
PYTEST_OPTS: "-vvv"
cmds:
- uv run pytest -vvv tests
- uv run pytest tests $PYTEST_OPTS

build:
cmds:
Expand Down
12 changes: 12 additions & 0 deletions libs/gl-testing/.tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3'

tasks:
check:
env:
PYTEST_OPTS: "-vvv"
cmds:
- uv run pytest tests $PYTEST_OPTS

build:
cmds:
- uv build --sdist
6 changes: 4 additions & 2 deletions libs/gl-testing/tests/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
from pyln import grpc as clnpb
from flaky import flaky

import struct
import time
import unittest
import pytest


def test_node_start(scheduler, clients):
Expand Down Expand Up @@ -389,6 +388,7 @@ def test_lsp_jit_fee(clients, node_factory, bitcoind):
)


@pytest.mark.skip(reason="Log-line can't be found anymore")
def test_custommsg(clients, node_factory, bitcoind, executor):
"""Connect a GL node and a CLN node and have them talk."""
c = clients.new()
Expand Down Expand Up @@ -448,6 +448,8 @@ def test_node_reconnect(clients, scheduler, node_factory, bitcoind):
assert peer["id"] == l1.info["id"]


# nepet: do we want to keep this to prevent a regression?
@pytest.mark.skip(reason="Does currently use an unasserted version v24.05")
def test_vls_crash_repro(
clients: Clients, scheduler: Scheduler, node_factory, bitcoind
) -> None:
Expand Down
Loading