Files
mtusi2026lab2/.github/workflows/application.yml
T
gamayunov2004 18b419cda2
Student application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
ЛР 2: PostgreSQL, сессии и Valkey — на 4
2026-10-23 18:17:09 +03:00

28 lines
913 B
YAML

name: Student application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Local synthetic secrets and build
run: |
sh scripts/init-env.sh
docker compose --env-file .env --profile test build
- name: Start and wait for the new application
run: docker compose --env-file .env --profile test up -d --wait --wait-timeout 120 api api-expiry
- name: Public and grade 4 checks
run: docker compose --profile test run --rm tools sh scripts/run-checks.sh
- name: Sanitized evidence
if: always()
uses: actions/upload-artifact@v4
with:
name: lab2-evidence
path: evidence/
- name: Stop only this test project
if: always()
run: docker compose --profile test down