diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6ef9c25..4e817f2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,3 +32,19 @@ jobs: - name: Look around run: ls -la + + - name: Start packaged Sinatra application + run: ./sample.tebako & + env: + PORT: 4567 + + - name: Wait for Sinatra to start + run: sleep 10 + + - name: Place GET request + run: | + apt-get install curl + curl http://localhost:4567 + + - name: End Sinatra application + run: pkill -f sample.tebako diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c2a8924..1b49173 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -35,3 +35,17 @@ jobs: - name: Look around run: ls -la + + - name: Start packaged Sinatra application + run: ./sample.tebako & + env: + PORT: 4567 + + - name: Wait for Sinatra to start + run: sleep 10 + + - name: Place GET request + run: curl http://localhost:4567 + + - name: End Sinatra application + run: pkill -f sample.tebako