Skip to content

bitcoin-signet/blocknotify:default ADDRESS or $1 #619

bitcoin-signet/blocknotify:default ADDRESS or $1

bitcoin-signet/blocknotify:default ADDRESS or $1 #619

name: plebnet-playground
# Controls when the action will run.
on:
pull_request:
branches: #[ master ]
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- 'master' # includes master
- 'main' # includes main
# Triggers the workflow on push or pull request events but only for the master branch
push:
#paths:
# - '.github/workflows/automate.yml'
#schedule:
# - cron: "*/5 * * * *"
branches: #[ master ]
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- 'master' # includes master
- 'main' # includes main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
github-workspace:
name: github-workspace
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: styfle/[email protected]
if: ${{ !env.ACT }}
with:
access_token: ${{ github.token }}
- name: Print github workspace
run: |
printenv
ubuntu-build_and_test:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: styfle/[email protected]
if: ${{ !env.ACT }}
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
with:
fetch-depth: '0'
submodules: 'true'
set-safe-directory: 'true'
- uses: actions/[email protected]
- uses: syphar/restore-virtualenv@v1
id: cache-virtualenv
- uses: syphar/restore-pip-download-cache@v1
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
- run: pip install -r requirements.txt
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
- name: sudo apt install gawk
run: |
sudo apt install gawk
- name: make help report
#if: ${{ !env.ACT }}
run: |
make help report submodules
- name: make initialize init
#if: ${{ !env.ACT }}
run: |
make initialize init docker-pull
- name: make venv && . .venv/bin/activate
#if: ${{ !env.ACT }}
run: |
make venv && . .venv/bin/activate
make test-venv
- name: make build para=true
if: ${{ !env.ACT }}
run: |
make build para=true
- name: make install
if: ${{ !env.ACT }}
run: |
make install
- name: ./install.sh
if: ${{ !env.ACT }}
run: |
./install.sh
- name: make docs && git diff
if: ${{ !env.ACT }}
run: |
make docs && git diff
- name: play
if: ${{ !env.ACT }}
run: |
play
- name: play info
if: ${{ !env.ACT }}
run: |
play info
- name: play ids
if: ${{ !env.ACT }}
run: |
play ids
- name: play-bitcoin "bitcoin-cli -h"
if: ${{ !env.ACT }}
run: |
play-bitcoin "bitcoin-cli -h"
- name: play bitcoin config
if: ${{ !env.ACT }}
run: |
play bitcoin config
- name: play-bitcoin config
if: ${{ !env.ACT }}
run: |
play-bitcoin config
- name: play lnd config
if: ${{ !env.ACT }}
run: |
# play defaults to the lnd container
play lnd config
- name: play lnd "lncli -h"
if: ${{ !env.ACT }}
run: |
play lnd "lncli -h"
- name: play-lnd config
if: ${{ !env.ACT }}
run: |
play-lnd config
- name: play-lnd "lncli -h"
if: ${{ !env.ACT }}
run: |
play-lnd "lncli -h"
- name: uninstall
if: ${{ !env.ACT }}
run: |
make prune-playground || echo
make prune-cluster || echo
make prune || echo
docker ps
docker images
#make uninstall || echo