Skip to content

Commit

Permalink
feat: extended sinatra sample with application run
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jul 26, 2024
1 parent 6b39968 commit 1c584fb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 14 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1c584fb

Please sign in to comment.