fix: add http port test to CI script, enable on push

This commit is contained in:
Tha_14 2022-12-26 23:57:01 +02:00 committed by GitHub
parent 5917dab890
commit 1fe7e1ccce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,7 @@
name: run-docker-compose-workflow
on: #change to push when it's all working
workflow_dispatch:
on: [push, workflow_dispatch]
jobs:
test:
single-instance-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -11,5 +10,7 @@ jobs:
- name: Sleep until uam is running
run: sleep 100s
shell: bash
- name: Test if port is open
- name: Test if uam mining port is open
run: nc -z -w30 127.0.0.1 4156
- name: Test if uam http statistics port is open
run: nc -z -w30 127.0.0.1 17099