forked from mtusi2026/mtusi2026lab2
[+] Completed lab 2
This commit is contained in:
@@ -12,5 +12,23 @@ jobs:
|
||||
python-version: '3.12'
|
||||
- run: python -m pip install -r requirements-dev.txt
|
||||
- run: make check validate PYTHON=python
|
||||
# This job validates the skeleton, not a student solution.
|
||||
# Add build, readiness and make test in a separate application job.
|
||||
application:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and start the stand
|
||||
run: |
|
||||
sh scripts/init-env.sh
|
||||
docker compose config --quiet
|
||||
docker compose build migrate
|
||||
docker compose up -d --no-build --wait --wait-timeout 90
|
||||
- name: Check public API and persistence
|
||||
run: |
|
||||
make test
|
||||
make test-persistence ACTION_SCRIPT=scripts/restart.sh
|
||||
- name: Show services and remove test data
|
||||
if: always()
|
||||
run: |
|
||||
docker compose ps --all || true
|
||||
docker compose down -v
|
||||
|
||||
Reference in New Issue
Block a user