Skip to content

PDF Outline, Tags and XMP #251

PDF Outline, Tags and XMP

PDF Outline, Tags and XMP #251

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python: [3.12, 3.13]
services:
pdfact:
image: ghcr.io/data-house/pdfact:main
ports:
- 4567:4567
liteparse:
image: ghcr.io/run-llama/liteparse-server:main
command: "bun run start-slim:bun"
ports:
- 5000:5000
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
python-version: ${{ matrix.python }}
- name: Pull dependencies
run: uv sync --all-extras --all-groups --frozen
- name: Create .env file with fake API keys
run: |
echo "PARXY_LANDINGAI_API_KEY=$(openssl rand -hex 16)" >> .env
echo "PARXY_LLAMAPARSE_API_KEY=$(openssl rand -hex 16)" >> .env
- name: Execute tests
env:
PARXY_PDFACT_BASE_URL: 'http://127.0.0.1:4567/'
run: uv run pytest