Skip to content

Commit b7031e1

Browse files
committed
Added Docling to lint/test YAML
1 parent 1b80078 commit b7031e1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ jobs:
3434
path: dist
3535
- name: Clean up paper-qa-pypdf build # Work around https://github.com/hynek/build-and-inspect-python-package/issues/174
3636
run: rm -r ${{ steps.build-paper-qa-pypdf.outputs.dist }}
37+
- id: build-paper-qa-docling
38+
uses: hynek/build-and-inspect-python-package@v2
39+
with:
40+
path: packages/paper-qa-docling
41+
upload-name-suffix: -paper-qa-docling
42+
- name: Download built paper-qa-docling artifact to dist/
43+
uses: actions/download-artifact@v6
44+
with:
45+
name: ${{ steps.build-paper-qa-docling.outputs.artifact-name }}
46+
path: dist
47+
- name: Clean up paper-qa-docling build # Work around https://github.com/hynek/build-and-inspect-python-package/issues/174
48+
run: rm -r ${{ steps.build-paper-qa-docling.outputs.dist }}
3749
- id: build-paper-qa
3850
uses: hynek/build-and-inspect-python-package@v2
3951
with:

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ jobs:
5858
- name: Clean up paper-qa-pymupdf build # Work around https://github.com/hynek/build-and-inspect-python-package/issues/174
5959
if: matrix.python-version == '3.11'
6060
run: rm -r ${{ steps.build-paper-qa-pypdf.outputs.dist }}
61+
- name: Check paper-qa-docling build
62+
id: build-paper-qa-docling
63+
if: matrix.python-version == '3.11'
64+
uses: hynek/build-and-inspect-python-package@v2
65+
with:
66+
path: packages/paper-qa-docling
67+
upload-name-suffix: -paper-qa-docling
68+
- name: Clean up paper-qa-docling build # Work around https://github.com/hynek/build-and-inspect-python-package/issues/174
69+
if: matrix.python-version == '3.11'
70+
run: rm -r ${{ steps.build-paper-qa-docling.outputs.dist }}
6171
- name: Check paper-qa build
6272
id: build-paper-qa
6373
if: matrix.python-version == '3.11'

0 commit comments

Comments
 (0)