add combine utxos script #102
This file contains 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: Test Start Node | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v1 | |
- name: Install Docker Compose | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y docker-compose | |
- name: Start Preprod node, wait 30s then stop node | |
shell: bash | |
run: | | |
printf "1\n" | /bin/bash ./start-node.sh 2>&1 | tee script_output.txt & | |
sleep 30 | |
/bin/bash ./stop-nodes.sh | |
- name: Start Preview node, wait 30s then stop node | |
shell: bash | |
run: | | |
printf "2\n" | /bin/bash ./start-node.sh 2>&1 | tee script_output.txt & | |
sleep 30 | |
/bin/bash ./stop-nodes.sh | |
- name: Start SanchoNet node, wait 30s then stop node | |
shell: bash | |
run: | | |
printf "3\n" | /bin/bash ./start-node.sh 2>&1 | tee script_output.txt & | |
sleep 30 | |
/bin/bash ./stop-nodes.sh |