forked from mtusi2026/mtusi2026lab4
24 lines
616 B
YAML
24 lines
616 B
YAML
name: Application acceptance
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: python scripts/setup.py
|
|
- run: docker compose up -d --build --wait --wait-timeout 180
|
|
- run: python scripts/run-all.py
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: lab4-evidence
|
|
path: evidence/
|
|
- if: always()
|
|
run: docker compose down
|