forked from mtusi2026/mtusi2026lab4
25 lines
671 B
YAML
25 lines
671 B
YAML
name: application
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
integration:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- run: python scripts/bootstrap.py
|
|
- run: chmod +x scripts/restart.sh scripts/stop-one.sh
|
|
- run: docker compose up -d --build --wait --wait-timeout 180
|
|
- run: python scripts/verify.py --full
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: evidence
|
|
path: evidence/
|
|
- run: docker compose down
|
|
if: always()
|