name: Application on: [push, pull_request] permissions: contents: read jobs: application: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.12' - run: scripts/setup.sh - run: docker compose up -d --build --wait - run: make check test BASE_URL=http://localhost:8083 - run: python3 student-tests/check.py --base-url http://localhost:8083 - run: python3 student-tests/idempotency.py --base-url http://localhost:8083 - run: docker compose exec -T api python - < student-tests/db_check.py - name: Stop stack if: always() run: docker compose down