Skip to content

feat(notifications): implement transactional email notification system #5

feat(notifications): implement transactional email notification system

feat(notifications): implement transactional email notification system #5

Workflow file for this run

name: Tests
on:
pull_request:
branches: [develop, main]
concurrency:
group: tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_DB: fiesta
POSTGRES_USER: fiesta
POSTGRES_PASSWORD: fiesta
ports:
- 5432:5432
options: >-
--health-cmd="pg_isready -U fiesta"
--health-interval=10s
--health-timeout=5s
--health-retries=5
env:
DATABASE_URL: postgres://fiesta:fiesta@localhost:5432/fiesta
DJANGO_SETTINGS_MODULE: fiesta.settings
DJANGO_CONFIGURATION: Development
DJANGO_SECRET_KEY: ci-test-secret-key-not-for-production
DJANGO_RECAPTCHA_SITE_KEY: dummy-recaptcha-site-key
DJANGO_RECAPTCHA_SECRET_KEY: dummy-recaptcha-secret-key
DJANGO_BUILD_DIR: /tmp/build
DJANGO_STATIC_ROOT: /tmp/static
DJANGO_MEDIA_ROOT: /tmp/media
ROOT_DOMAIN: fiesta.test
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync
- name: Run tests
working-directory: fiesta
run: uv run --with setuptools python manage.py test --verbosity 1