mirror of
				https://github.com/Tha14/uam-docker.git
				synced 2025-10-31 23:06:53 +01:00 
			
		
		
		
	fix: add http port test to CI script, enable on push
This commit is contained in:
		
							
								
								
									
										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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user