Merge pull request #740 from coopdevs/develop #46
Workflow file for this run
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 |