Add donor events to recurrence upgrade process #5076
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: FragDenStaat CI | |
| on: push | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - uses: j178/prek-action@v1 | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12', '3.13', '3.14'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Start Elasticsearch | |
| run: docker compose -f compose-dev.yaml up --wait elasticsearch | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: true | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install system-level dependencies | |
| run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt1-dev python3-dev libgdal-dev gdal-bin libmagic-dev libmagickwand-dev gettext libpoppler-cpp-dev | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| playwright install --with-deps chromium | |
| pnpm install | |
| - name: Build frontend | |
| run: pnpm run build | |
| - name: Compile translations | |
| run: | | |
| python manage.py compilemessages -i node_modules -l de | |
| - name: Run tests | |
| run: | | |
| coverage run --branch -m pytest --reuse-db | |
| coverage report --format=markdown >> $GITHUB_STEP_SUMMARY | |
| services: | |
| postgres: | |
| image: postgis/postgis:16-3.4 | |
| env: | |
| POSTGRES_USER: fragdenstaat_de | |
| POSTGRES_PASSWORD: fragdenstaat_de | |
| POSTGRES_DB: fragdenstaat_de | |
| ports: | |
| - 5432:5432 |