Files
full-stack-fastapi-template/.github/workflows/test-docker-compose.yml
T
dependabot[bot] 752fc77bed ⬆ Bump the github-actions group with 5 updates (#2397)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-03 21:51:06 +02:00

29 lines
732 B
YAML

name: Test Docker Compose
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
test-docker-compose:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: docker compose build
- run: docker compose down -v --remove-orphans
- run: docker compose up -d --wait backend adminer
- name: Test backend is up
run: curl http://localhost:8000/api/v1/utils/health-check
- name: Test frontend is up
run: curl http://localhost:8000
- run: docker compose down -v --remove-orphans