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 \
2020 gcc-arm-none-eabi \
2121 gettext \
2222 git \
23+ gnupg \
2324 jq \
2425 libc6-dev-arm64-cross \
2526 libc6-dev-armhf-cross \
27+ libev-dev \
28+ libevent-dev \
29+ libffi-dev \
30+ libicu-dev \
2631 libpq-dev \
2732 libprotobuf-c-dev \
2833 libsqlite3-dev \
34+ libssl-dev \
2935 libtool \
3036 libxml2-utils \
3137 locales \
@@ -43,6 +49,7 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
4349 software-properties-common \
4450 sudo \
4551 tcl \
52+ tclsh \
4653 unzip \
4754 valgrind \
4855 wget \
Original file line number Diff line number Diff line change 8888 - name : Check source
8989 env :
9090 VALGRIND : 0
91- GENERATE_EXAMPLES : 1
9291 PYTEST_OPTS : --timeout=1200
9392 run : make check-source BASE_REF="origin/${{ github.base_ref }}"
9493 - name : Check Generated Files have been updated
@@ -480,6 +479,40 @@ jobs:
480479 run : |
481480 poetry run pytest tests/ -vvv -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
482481
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+
483516 min-btc-support :
484517 name : Test minimum supported BTC v${{ matrix.MIN_BTC_VERSION }} with ${{ matrix.NAME }}
485518 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
595595 git diff --exit-code HEAD
596596
597597# 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
599599
600600check-source : check-source-no-cppcheck
601601
You can’t perform that action at this time.
0 commit comments