30 lines
974 B
YAML
30 lines
974 B
YAML
name: Lab7 solution
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
integration:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 45
|
|
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: make check validate PYTHON=python
|
|
- run: chmod +x scripts/restart.sh scripts/stop-one.sh
|
|
- run: python scripts/up.py
|
|
- run: python scripts/verify.py
|
|
- run: docker compose run --rm --no-deps operator python student-tests/telemetry_headers.py
|
|
- run: docker compose run --rm --no-deps operator python student-tests/observability.py
|
|
- run: python scripts/integrity.py
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: lab7-evidence
|
|
path: |
|
|
evidence/*.json
|
|
evidence/*.txt
|
|
- if: always()
|
|
run: docker compose down
|