mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 21:13:02 +01:00
fix: add http port test to CI script, enable on push
This commit is contained in:
parent
5917dab890
commit
1fe7e1ccce
9
.github/workflows/push.yml
vendored
9
.github/workflows/push.yml
vendored
@ -1,8 +1,7 @@
|
|||||||
name: run-docker-compose-workflow
|
name: run-docker-compose-workflow
|
||||||
on: #change to push when it's all working
|
on: [push, workflow_dispatch]
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
single-instance-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -11,5 +10,7 @@ jobs:
|
|||||||
- name: Sleep until uam is running
|
- name: Sleep until uam is running
|
||||||
run: sleep 100s
|
run: sleep 100s
|
||||||
shell: bash
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user