stages: - lint - test run-tests: stage: test image: fedora:latest services: - postgres:latest variables: DATABASE_HOST: postgres DATABASE_USER: postgres POSTGRES_HOST_AUTH_METHOD: trust coverage: /^TOTAL.+?(\d+\%)$/ before_script: - dnf install -y python3-devel python3-pip python3-coverage libpq-devel openldap-devel gcc chromium script: - pip install -r requirements.txt - coverage run --source='.' ./manage.py test - coverage report