From 1fe7e1ccce246793f9a60285e6ca1fd01e882b03 Mon Sep 17 00:00:00 2001 From: Tha_14 Date: Mon, 26 Dec 2022 23:57:01 +0200 Subject: [PATCH] fix: add http port test to CI script, enable on push --- .github/workflows/push.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f22e4aa..196a407 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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