Skip to content

Add CI workflow for pyln tests #4

Add CI workflow for pyln tests

Add CI workflow for pyln tests #4

Workflow file for this run

name: Run tests
on:
push:
branches: ["50-add-ci-workflow-for-pyln-tests"]
pull_request:
branches: ["feat/add-tests"]
jobs:
run-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install -C tests --no-interaction --no-root
- name: Install bitcoind
env:
BITCOIN_VERSION: "26.0"
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: cd tests && poetry run pytest test_rpc.py -v