chain: handle accumulator reorg #1569
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Functional Tests | |
on: | |
push: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
functional: | |
name: Functional | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# These are the minimal deps defined by bitcoin core at | |
# https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md | |
- name: Prepare bitcoin-core deps | |
run: sudo apt install build-essential cmake pkgconf python3 libevent-dev libboost-dev | |
# see more at | |
# https://docs.astral.sh/uv/guides/integration/github/ | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: "3.12" | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: Prepare environment | |
run: uv sync --all-extras --dev | |
- name: Run black formatting | |
run: uv run black --check --verbose ./tests | |
- name: Run pylint linter | |
run: uv run pylint --verbose ./tests | |
- name: Cache Rust | |
uses: Swatinem/rust-cache@v2 | |
- name: Run functional tests tasks | |
run: | | |
tests/prepare.sh | |
tests/run.sh |