Skip to content

feat(bitcoin): report the sync status through the healthcheck #1

feat(bitcoin): report the sync status through the healthcheck

feat(bitcoin): report the sync status through the healthcheck #1

name: Node status test
on:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: dappnode/staker-package-scripts
ref: v0.1.3
path: staker-package-scripts
- name: Test under dash (the shell of the Debian image)
run: sh test/node_status_test.sh
env:
NODE_STATUS_TOOLS: ${{ github.workspace }}/staker-package-scripts/scripts/node_status_tools.sh
- name: Test under dash with the jq of the image (Debian trixie)
run: >
docker run --rm -v "$PWD:/work" -w /work debian:trixie-slim sh -c
"apt-get update -qq && apt-get install -y -qq --no-install-recommends jq >/dev/null &&
NODE_STATUS_TOOLS=/work/staker-package-scripts/scripts/node_status_tools.sh sh test/node_status_test.sh"