forked from mtusi2026/mtusi2026lab4
ЛР 4 — БВТ2303 — Брезгунова — на 5
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: lab4 solution
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
acceptance:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: python -m pip install -r requirements-dev.txt
|
||||
- run: python scripts/check_contract.py && python scripts/validate_openapi.py
|
||||
- run: python scripts/setup.py
|
||||
- run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml --profile tests up -d --build api1 api2 lb fault-api sweeper
|
||||
- run: python scripts/verify.py
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: lab4-evidence
|
||||
path: evidence/
|
||||
- run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml --profile tests down
|
||||
if: always()
|
||||
Reference in New Issue
Block a user