Skip to content

tests: fix manual tests to use unique ports for parallel runs #115

tests: fix manual tests to use unique ports for parallel runs

tests: fix manual tests to use unique ports for parallel runs #115

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 uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"
- 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: |
cd tests
uv 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/action@v3.0.0