mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Enables some basic live testing against a tika server with actual sample documents to catch some more errors mocking won't catch
This commit is contained in:

committed by
Trenton H

parent
5357775d42
commit
9c0c734b34
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -82,6 +82,17 @@ jobs:
|
||||
matrix:
|
||||
python-version: ['3.8', '3.9', '3.10']
|
||||
fail-fast: false
|
||||
services:
|
||||
tika:
|
||||
image: ghcr.io/paperless-ngx/tika:latest
|
||||
ports:
|
||||
- "9998:9998/tcp"
|
||||
gotenberg:
|
||||
image: docker.io/gotenberg/gotenberg:7.4
|
||||
ports:
|
||||
- "3000:3000/tcp"
|
||||
env:
|
||||
TIKA_LIVE: 1
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
@@ -91,7 +102,7 @@ jobs:
|
||||
-
|
||||
name: Install pipenv
|
||||
run: |
|
||||
pipx install pipenv==2022.8.5
|
||||
pipx install pipenv
|
||||
pipenv --version
|
||||
-
|
||||
name: Set up Python
|
||||
@@ -117,7 +128,7 @@ jobs:
|
||||
name: Tests
|
||||
run: |
|
||||
cd src/
|
||||
pipenv run pytest
|
||||
pipenv run pytest -rfEp
|
||||
-
|
||||
name: Get changed files
|
||||
id: changed-files-specific
|
||||
|
Reference in New Issue
Block a user