File tree Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,18 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
20
20
gcc-arm-none-eabi \
21
21
gettext \
22
22
git \
23
+ gnupg \
23
24
jq \
24
25
libc6-dev-arm64-cross \
25
26
libc6-dev-armhf-cross \
27
+ libev-dev \
28
+ libevent-dev \
29
+ libffi-dev \
30
+ libicu-dev \
26
31
libpq-dev \
27
32
libprotobuf-c-dev \
28
33
libsqlite3-dev \
34
+ libssl-dev \
29
35
libtool \
30
36
libxml2-utils \
31
37
locales \
@@ -43,6 +49,7 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
43
49
software-properties-common \
44
50
sudo \
45
51
tcl \
52
+ tclsh \
46
53
unzip \
47
54
valgrind \
48
55
wget \
Original file line number Diff line number Diff line change 88
88
- name : Check source
89
89
env :
90
90
VALGRIND : 0
91
- GENERATE_EXAMPLES : 1
92
91
PYTEST_OPTS : --timeout=1200
93
92
run : make check-source BASE_REF="origin/${{ github.base_ref }}"
94
93
- name : Check Generated Files have been updated
@@ -480,6 +479,40 @@ jobs:
480
479
run : |
481
480
poetry run pytest tests/ -vvv -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
482
481
482
+ update-docs-examples :
483
+ name : Update examples in doc schemas
484
+ runs-on : ubuntu-22.04
485
+ timeout-minutes : 30
486
+ strategy :
487
+ fail-fast : true
488
+ env :
489
+ VALGRIND : 0
490
+ GENERATE_EXAMPLES : 1
491
+ PYTEST_OPTS : --timeout=1200
492
+ steps :
493
+ - name : Checkout
494
+ uses : actions/checkout@v4
495
+ - name : Set up Python 3.10
496
+ uses : actions/setup-python@v5
497
+ with :
498
+ python-version : ' 3.10'
499
+ - name : Install dependencies
500
+ run : |
501
+ bash -x .github/scripts/setup.sh
502
+ pip install -U pip wheel poetry
503
+ poetry self add poetry-plugin-export
504
+ # Export and then use pip to install into the current env
505
+ poetry export -o /tmp/requirements.txt --without-hashes --with dev
506
+ pip install -r /tmp/requirements.txt
507
+ - name : Test Examples
508
+ env :
509
+ VALGRIND : 0
510
+ GENERATE_EXAMPLES : 1
511
+ PYTEST_OPTS : --timeout=1200
512
+ run : |
513
+ ./configure --enable-debugbuild --enable-rust CC=clang
514
+ make -j $(nproc) check-doc-examples
515
+
483
516
min-btc-support :
484
517
name : Test minimum supported BTC v${{ matrix.MIN_BTC_VERSION }} with ${{ matrix.NAME }}
485
518
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ check-doc-examples: update-doc-examples
595
595
git diff --exit-code HEAD
596
596
597
597
# For those without working cppcheck
598
- check-source-no-cppcheck : check-makefile check-source-bolt check-whitespace check-spelling check-python check-includes check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access check-doc-examples
598
+ check-source-no-cppcheck : check-makefile check-source-bolt check-whitespace check-spelling check-python check-includes check-shellcheck check-setup_locale check-tmpctx check-discouraged-functions check-amount-access
599
599
600
600
check-source : check-source-no-cppcheck
601
601
You can’t perform that action at this time.
0 commit comments