Merge pull request #722 from coopdevs/ruby_3 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build docker | |
run: docker build . | |
- name: Test docker compose | |
run: docker-compose up -d | |
- run: sleep 15 # wait for the server to start | |
- name: Check server is up | |
run: curl -s http://localhost:3000 |