Skip to content

Bump orjson from 3.11.4 to 3.11.5 #3

Bump orjson from 3.11.4 to 3.11.5

Bump orjson from 3.11.4 to 3.11.5 #3

Workflow file for this run

name: Tests
on:
push:
branches: [main, feature/*]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:18-alpine
env:
POSTGRES_USER: reddarchiver
POSTGRES_PASSWORD: test_password
POSTGRES_DB: reddarchiver
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync --all-extras
- name: Run tests with coverage
env:
DATABASE_URL: postgresql://reddarchiver:test_password@localhost:5432/reddarchiver
run: uv run pytest tests/ -v --cov=. --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
fail_ci_if_error: false