mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 22:43:03 +01:00
17 lines
532 B
YAML
17 lines
532 B
YAML
name: run-docker-compose-workflow
|
|
on: [push, workflow_dispatch]
|
|
jobs:
|
|
single-instance-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build the stack
|
|
run: cd uam && PBKEY=${{ secrets.PBKEY }} docker-compose up -d
|
|
- name: Sleep until uam is running
|
|
run: sleep 100s
|
|
shell: bash
|
|
- 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
|