Skip to content

⬆️ Bump jinja2 from 3.1.3 to 3.1.4 #758

⬆️ Bump jinja2 from 3.1.3 to 3.1.4

⬆️ Bump jinja2 from 3.1.3 to 3.1.4 #758

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- '.devcontainer/**'
- '.github/**'
- '.vscode/**'
- 'docs/**'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
name: Tests with Python
services:
postgres:
image: postgres:15
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports: ['5432:5432']
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
cache-dependency-path: '**/requirements.txt'
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip uv
python -m uv pip install --system --requirement requirements.txt
if: steps.cache.outputs.cache-hit != 'true'
- name: Test with pytest
env:
DATABASE_URL: 'postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres'
DEBUG: false
REDIS_URL: 'redis://redis:6379/0'
SECRET_KEY: 'this-is-for-testing-only'
run: |
python -m pytest . -s