Skip to content

Change blockquote colors #238

Change blockquote colors

Change blockquote colors #238

Workflow file for this run

name: tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
PYTHON_VERSION: 3.11.9
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
META_TITLE: "Test Title"
META_AUTHOR: "Test T. Author"
META_DESCRIPTION: "Test description"
META_KEYWORDS: "test, keywords"
META_OG_IMAGE: "https://example.com/test.png"
META_OG_IMAGE_PREHUNT: "https://example.com/test.png"
SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- name: Set up Python and uv
uses: drivendataorg/setup-python-uv-action@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: packages
cache-dependency-path: >-
requirements/deploy.txt
requirements/demo.txt
requirements/dev.txt
- name: Install dependencies
run: |
uv pip install -r requirements/dev.txt
- name: Lint project
run: |
just lint
- name: Check for unmade migrations
run: |
python manage.py makemigrations --check --dry-run
- name: Migrate
run: |
python manage.py migrate --noinput
- name: Collect static files
run: |
python manage.py collectstatic --noinput
- name: Run tests
run: |
just coverage