Skip to content

Bump sentry-sdk from 2.14.0 to 2.15.0 #66

Bump sentry-sdk from 2.14.0 to 2.15.0

Bump sentry-sdk from 2.14.0 to 2.15.0 #66

Workflow file for this run

name: Django tests
on:
push:
branches: ['dev', 'master']
pull_request:
branches: ['master', 'dev']
jobs:
test-job:
runs-on: ubuntu-latest
container: python:3.12-bookworm
services:
postgres:
image: postgres:16.3-alpine3.20
env:
POSTGRES_PASSWORD: hiren
POSTGRES_USER: hiren
POSTGRES_DB: diary
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: pip install -r requirements.txt
- name: Generate JSON file from environment variables
run: |
echo '{
"secret_key": "xyz1234567890qwerty",
"debug": "False",
"allowed_hosts": ["localhost","127.0.0.1"],
"timezone": "Asia/Dhaka",
"db_name": "diary",
"db_password": "hiren",
"db_user": "hiren",
"db_host": "postgres"
}' > config.json
- name: Test with pytest
run: pytest -vv -s