forked from mtusi2026/mtusi2026lab4
27 lines
772 B
YAML
27 lines
772 B
YAML
name: Student lab4 implementation
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 25
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- run: python -m pip install -r requirements-student.txt
|
|
- run: python scripts/setup-env.py
|
|
- run: docker compose up -d --build --wait
|
|
- run: make -f student.mk verify-lab4 PYTHON=python
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: lab4-evidence
|
|
path: |
|
|
evidence/lab4-*.json
|
|
evidence/lab4-*.txt
|
|
- if: always()
|
|
run: docker compose down --volumes --remove-orphans
|