23 lines
663 B
YAML
23 lines
663 B
YAML
name: Application checks
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Initialize local configuration
|
|
shell: pwsh
|
|
run: ./scripts/init-local.ps1
|
|
- run: docker compose --env-file .env up -d --build --wait api
|
|
- run: make check test PYTHON=python
|
|
- run: make test-persistence PYTHON=python ACTION_SCRIPT=scripts/restart.sh
|
|
- name: Stop test stack
|
|
if: always()
|
|
run: docker compose down
|