name: Lab 3 application on: [push, pull_request] permissions: contents: read jobs: compose: runs-on: ubuntu-24.04 timeout-minutes: 15 env: COMPOSE_PROJECT_NAME: mtusi-lab3-ci PYTHONUTF8: '1' steps: - uses: actions/checkout@v4 - name: Create local synthetic credentials run: python3 scripts/init_env.py - name: Smoke, persistence and both replica failures shell: bash run: | set -o pipefail sh scripts/verify-linux.sh 2>&1 | tee evidence/results-ci.txt - name: Stop the test stack and retain data volume if: always() run: docker compose --env-file .env stop - uses: actions/upload-artifact@v4 if: always() with: name: lab3-verification path: evidence/results-ci.txt