feat: persist messenger data and sessions in PostgreSQL
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user