Skip to content

ci: just install latest CLN binary rather than building it #100

ci: just install latest CLN binary rather than building it

ci: just install latest CLN binary rather than building it #100

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
jobs:
run-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
check-latest: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --no-interaction
- name: Install bitcoind
env:
BITCOIN_VERSION: "28.1"
run: .github/scripts/install-bitcoind.sh
- name: Install CLN
run: .github/scripts/install-cln.sh
- name: Build smaug
run: cargo build
- name: Run pyln tests
timeout-minutes: 5
run: poetry run pytest -v -n 5
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
check-latest: true
- name: Run pre-commit hook
uses: pre-commit/[email protected]