Files
mtusi2026lab2/.github/workflows/application.yml

22 lines
615 B
YAML

name: Lab 2 application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- run: make check
- run: bash scripts/bootstrap.sh
- run: docker compose pull db cache
- run: docker compose build migrate
- run: docker compose up -d --no-build --pull never
- run: curl -fsS --retry 40 --retry-delay 2 --retry-all-errors http://127.0.0.1:8080/health/ready
- run: make test BASE_URL=http://127.0.0.1:8080
- if: always()
run: docker compose down