mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-12-27 08:03:24 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user