coopdevs/timeoverflow

View on GitHub
.github/workflows/docker_build.yml

Summary

Maintainability
Test Coverage
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