Skip to content

Fix infotextbox column styling #1860

Fix infotextbox column styling

Fix infotextbox column styling #1860

Workflow file for this run

name: FragDenStaat CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: |
yarn install
- uses: pre-commit/action@v3.0.0
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.10']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- 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: |
python -m pip install --upgrade pip pip-tools
pip-sync requirements-dev.txt
playwright install --with-deps chromium
pip install -e .
bash devsetup.sh frontend
- name: Build frontend
run: yarn run build
- name: Compile translations
run: python manage.py compilemessages
- name: Run flake8 and tests
run: make testci
env:
DATABASE_URL: postgis://postgres:postgres@localhost/fragdenstaat_de
services:
postgres:
image: postgis/postgis:14-3.3
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fragdenstaat_de
ports:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
options: -e "discovery.type=single-node" --expose 9200 --health-cmd "curl localhost:9200/_cluster/health" --health-interval 10s --health-timeout 5s --health-retries 10
ports:
- '9200:9200'