Skip to content

build(deps): update django-csp requirement from ~=3.8 to ~=4.0 in the django-extensions group #3306

build(deps): update django-csp requirement from ~=3.8 to ~=4.0 in the django-extensions group

build(deps): update django-csp requirement from ~=3.8 to ~=4.0 in the django-extensions group #3306

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: bots
DB_HOST: localhost
REDIS_HOST: redis://localhost
services:
postgres:
image: postgres
env:
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
POSTGRES_DB: ${{ env.DB_NAME }}
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis
ports:
- 6379:6379
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
version: "0.7.x"
- name: Install Python dependencies
run: |
uv sync --frozen
source .venv/bin/activate
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
- name: Run tests
run: python manage.py test