forked from mtusi2026/mtusi2026lab2
27 lines
791 B
YAML
27 lines
791 B
YAML
name: Application checks
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-24.04
|
|
env:
|
|
NO_PROXY: localhost,127.0.0.1
|
|
no_proxy: localhost,127.0.0.1
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.14.7'
|
|
- run: python -m pip install uv==0.13.7
|
|
- run: uv sync --locked
|
|
- run: make bootstrap lint check validate PYTHON=.venv/bin/python
|
|
- run: make up
|
|
- run: make test test-student
|
|
- run: make test-persistence ACTION_SCRIPT=scripts/restart.sh
|
|
- run: make verify VERIFY_OUTPUT=.work/ci-lifecycle.json
|
|
- if: always()
|
|
run: docker compose down --volumes
|