forked from mtusi2026/mtusi2026lab3
ЛР 3 — БПИ2303 — Щербаков — на 3
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: python scripts/bootstrap.py
|
||||
- run: chmod +x scripts/restart.sh scripts/stop-one.sh
|
||||
- run: docker compose --env-file .env up -d --build --wait
|
||||
- run: make check test PYTHON=python
|
||||
- run: python scripts/verify.py --output evidence/grade3-checks.txt
|
||||
- if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: grade3-evidence
|
||||
path: evidence/grade3-checks.txt
|
||||
- if: always()
|
||||
run: docker compose down
|
||||
Reference in New Issue
Block a user