Skip to content

WIP: Use reusable workflow with pre-commit #19

WIP: Use reusable workflow with pre-commit

WIP: Use reusable workflow with pre-commit #19

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
common:
uses: tuomas777/.github/.github/workflows/ci-django-api.yml@reusable_workflow_precommit
secrets: inherit
with:
python-version: 3.9
database-type: postgres
database-image: postgis/postgis:14-3.2-alpine
extra-setup: |
sudo apt-get install gdal-bin
extra-checks: |
python manage.py spectacular --lang en --validate --fail-on-warn --api-version v1