Skip to content

Update packages (#68) #213

Update packages (#68)

Update packages (#68) #213

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
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@v7.3.1
with:
enable-cache: true
python-version: ${{ matrix.python }}
- name: Pull dependencies
run: uv sync --all-extras --all-groups
- 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