Skip to content

Merge pull request #383 from RSE-Sheffield/feat/midwifery-tweaks #272

Merge pull request #383 from RSE-Sheffield/feat/midwifery-tweaks

Merge pull request #383 from RSE-Sheffield/feat/midwifery-tweaks #272

name: Check Gunicorn configuration
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
check-config:
name: Check Gunicorn configuration
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
# This should match the version used in production
python-version: "3.12"
cache: "pip"
- name: Install dependencies
run: pip install --requirement requirements.txt
- name: Check Gunicorn config
# https://docs.gunicorn.org/en/latest/configure.html
run: gunicorn --config ./gunicorn.conf.py --check-config SORT.wsgi:application