Repository navigation
1177 lines (1172 loc) · 48.4 KB
/
Copy pathdocs.yml
File metadata and controls
1177 lines (1172 loc) · 48.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
name: Documentation
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
yew-starter:
name: Yew PDF and HTML starter (${{ matrix.os }}, Rust ${{ matrix.rust }})
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
rust: '1.85.0'
- os: windows-latest
rust: '1.97.0'
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
targets: wasm32-unknown-unknown
- run: |
python -m pip install --only-binary=:all: -r tools/browser-requirements.txt
- run: python -m playwright install --with-deps chromium
- name: Reproduce the download and check native and browser component builds
run: |
python tools/build_yew_starter.py
git diff --exit-code -- docs/assets/yew-starter/project.zip docs/assets/yew-starter/source.json
python tools/verify_yew_starter.py
- name: Check the exported HTML and PDF downloads in Chromium
run: python tools/check_yew_starter_browser.py --root target/yew-starter/documents --output target/yew-starter/browser
- uses: actions/upload-artifact@v4
if: always()
with:
name: yew-starter-${{ matrix.os }}-${{ matrix.rust }}
path: target/yew-starter/
retention-days: 14
component-kits:
name: Component kit composition (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/component-kits/requirements-check.txt -r tools/browser-requirements.txt
- run: python -m playwright install --with-deps chromium
- name: Reproduce the download and verify PDF and HTML customization
run: |
python -m unittest discover -s tools -p test_component_kits_png.py
python tools/build_component_kits.py
git diff --exit-code -- docs/assets/component-kits/project.zip docs/assets/component-kits/source.json
python tools/verify_component_kits.py --check-published
python tools/check_component_kits_browser.py
- uses: actions/upload-artifact@v7
if: always()
with:
name: component-kits-${{ matrix.os }}
path: target/component-kits/
retention-days: 14
accessible-showcase:
name: Accessible component showcase (${{ matrix.channel }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha4, alpha5, alpha6, alpha7]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/requirements-check.txt
- name: Rebuild the source kit and reproduce the externally validated PDF
run: |
python tools/build_accessible_showcase.py --channel ${{ matrix.channel }}
git diff --exit-code -- docs/assets/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/project.zip docs/assets/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/source.json
python tools/verify_accessible_showcase.py --channel ${{ matrix.channel }} --out target/accessible-showcase
- name: Verify the PDF/UA-2 source specimen
if: matrix.channel == 'alpha7'
run: python tools/verify_accessible_showcase.py --channel alpha7 --pdf-profile pdfua2 --out target/accessible-showcase-pdfua2
- uses: actions/upload-artifact@v4
if: always()
with:
name: accessible-showcase-${{ matrix.channel }}-${{ matrix.os }}
path: target/accessible-showcase/
retention-days: 14
- name: Retain PDF/UA-2 source verification
if: always() && matrix.channel == 'alpha7'
uses: actions/upload-artifact@v7
with:
name: accessible-showcase-alpha7-${{ matrix.os }}-pdfua2
path: target/accessible-showcase-pdfua2/
retention-days: 14
showcase-authoring:
name: Showcase authoring comparison (${{ matrix.channel }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha4, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Rebuild the download and compare both authoring paths
shell: bash
run: |
python tools/build_showcase_authoring.py --channel ${{ matrix.channel }}
git diff --exit-code -- docs/assets/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/project.zip docs/assets/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/source.json
python tools/verify_showcase_authoring.py --channel ${{ matrix.channel }} --out target/showcase-authoring
python target/showcase-authoring/project/tools/check_showcase_preview.py --project target/showcase-authoring/project/examples/design_showcase --out target/showcase-authoring/live-preview
- uses: actions/upload-artifact@v4
if: always()
with:
name: showcase-authoring-${{ matrix.channel }}-${{ matrix.os }}
path: target/showcase-authoring/
retention-days: 14
component-notebook:
name: Component notebook (${{ matrix.channel }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha3, alpha5, alpha6, alpha6-r1]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r tools/component-notebook-requirements.txt
- name: Execute the notebook and check PDF, HTML and ZIP downloads
run: python -I tools/verify_component_notebook.py --channel ${{ matrix.channel }} --check-downloads --out target/component-notebook
- name: Install the optional Jupyter browser test tools
if: matrix.channel == 'alpha6-r1'
run: |
python -m pip install --only-binary=:all: -r tools/component-notebook-browser-requirements.txt
- name: Edit, run and download in Jupyter Notebook
if: matrix.channel == 'alpha6-r1'
run: python -I tools/check_component_notebook_jupyter.py --reference target/component-notebook --out target/component-notebook/browser --browser chrome
- uses: actions/upload-artifact@v4
if: always()
with:
name: component-notebook-${{ matrix.channel }}-${{ matrix.os }}
path: target/component-notebook/
retention-days: 14
page-band-notebook:
name: Report notebook (${{ matrix.channel }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha9, alpha10, alpha11]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r tools/component-notebook-browser-requirements.txt
- name: Execute the page-band notebook and inspect PDF, HTML and ZIP files
run: python -I tools/verify_page_band_notebook.py --channel ${{ matrix.channel }} --notebook examples/${{ matrix.channel == 'alpha9' && 'page-band-notebook-alpha9/component_page_bands.ipynb' || format('styling-notebook-{0}/component_styling.ipynb', matrix.channel) }} --out target/page-band-notebook
- name: Reproduce the styling notebook and its exact download
if: matrix.channel != 'alpha9'
run: |
python tools/build_styling_notebook.py --channel ${{ matrix.channel }}
git diff --exit-code -- examples/styling-notebook-${{ matrix.channel }}/component_styling.ipynb docs/assets/styling-notebook-${{ matrix.channel }}/component_styling.ipynb
- name: Check private notebook process cleanup and isolation
run: python -I tools/test_notebook_browser_processes.py
- name: Edit, run and download the page-band notebook in Jupyter
run: python -I tools/check_page_band_notebook_jupyter.py --reference target/page-band-notebook --out target/page-band-notebook/browser --browser chrome
- uses: actions/upload-artifact@v4
if: always()
with:
name: page-band-notebook-${{ matrix.channel }}-${{ matrix.os }}
path: target/page-band-notebook/
retention-days: 14
complete-html:
name: Complete HTML guide and download (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: python -m pip install fullbleed==2.5.26 pypdf==6.19.0
- run: python -I tools/verify_complete_html.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: complete-html-${{ matrix.os }}
path: target/complete-html/
retention-days: 14
component-preview:
name: Experimental component preview (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the exact preview wheel without building Rust
run: python -m pip install --force-reinstall --report component-preview-install.json -r examples/component-preview/requirements-preview.txt
- name: Install independent verification readers
run: python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the exact example download, editing tasks and guide
shell: bash
run: |
python tools/build_component_preview_starter.py
git diff --exit-code -- docs/assets/component-preview/project.zip docs/assets/component-preview/source.json examples/component-preview/requirements-preview.txt examples/component-preview/wheels.html
python tools/verify_component_preview_starter.py --install-report component-preview-install.json
- uses: actions/upload-artifact@v4
if: always()
with:
name: experimental-component-source-${{ matrix.os }}
path: target/component-preview/
retention-days: 14
bootstrap-preview:
name: Static Bootstrap ${{ matrix.channel }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [preview, alpha, alpha2, alpha3, alpha4, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the exact Bootstrap wheel
run: python -m pip install --pre --force-reinstall --report bootstrap-install.json -r examples/bootstrap-${{ matrix.channel }}/${{ matrix.channel != 'preview' && 'requirements.txt' || 'requirements-preview.txt' }}
- name: Install independent verification readers
run: python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the exact Bootstrap download and guide
shell: bash
run: |
python tools/build_bootstrap_preview_starter.py --channel ${{ matrix.channel }}
git diff --exit-code -- docs/assets/bootstrap-${{ matrix.channel }} examples/bootstrap-${{ matrix.channel }}
python tools/verify_bootstrap_preview_starter.py --channel ${{ matrix.channel }} --install-report bootstrap-install.json --out target/bootstrap-${{ matrix.channel }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: bootstrap-${{ matrix.channel }}-${{ matrix.os }}
path: target/bootstrap-${{ matrix.channel }}/
retention-days: 14
dotnet-components:
name: C# component download (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- run: python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the exact C# download and component guide
run: |
python tools/build_dotnet_component_starter.py
git diff --exit-code -- docs/assets/dotnet-components/project.zip docs/assets/dotnet-components/source.json
python tools/verify_dotnet_component_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: dotnet-component-download-${{ matrix.os }}
path: output/dotnet-components-verification/
retention-days: 14
node-components:
name: JavaScript component download (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
package-manager-cache: false
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: python -m pip install pypdf==6.19.0
- name: Verify the actual JavaScript and TSX project download
run: |
python tools/build_node_component_starter.py
git diff --exit-code -- docs/assets/node-components/project.zip docs/assets/node-components/source.json
python tools/verify_node_component_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: node-component-download-${{ matrix.os }}
path: target/node-component-starter/
retention-days: 14
components:
name: Python component download (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: python -m pip install fullbleed==2.5.25 pypdf==6.19.0
- name: Verify the actual component project download
run: |
python tools/build_component_starter.py
git diff --exit-code -- docs/assets/components/project.zip docs/assets/components/source.json
python tools/verify_component_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: component-download-${{ matrix.os }}
path: target/component-starter/
retention-days: 14
laravel-queue:
name: Laravel PDF queue (PHP ${{ matrix.php }})
runs-on: ubuntu-24.04
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
php: ['8.4', '8.5']
steps:
- uses: actions/checkout@v7
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, pdo_sqlite
coverage: none
tools: composer:2.10.3
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install the published engine and independent verifiers
run: python -m pip install fullbleed==2.5.21 pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0 playwright==1.63.0
- run: python -m playwright install --with-deps chromium
- name: Verify the exact Laravel download and real queue lifecycle
run: |
python tools/build_laravel_starter.py
git diff --exit-code -- docs/assets/laravel-starter/project.zip docs/assets/laravel-starter/source.json
python tools/verify_laravel_starter.py --browser chromium
- uses: actions/upload-artifact@v4
if: always()
with:
name: laravel-queue-php-${{ matrix.php }}
path: |
output/laravel-verification/*.json
output/laravel-verification/*.pdf
output/laravel-verification/*.png
output/laravel-verification/*.txt
output/laravel-verification/*.log
output/laravel-verification/native-preview/
retention-days: 14
laravel-platform:
name: Laravel PHP 8.3 rejection
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
- uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: mbstring, pdo_sqlite
coverage: none
tools: composer:2.10.3
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Verify the downloadable starter rejects unsupported PHP before setup
run: python tools/verify_laravel_platform.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: laravel-php-83-rejection
path: output/laravel-platform/*.json
retention-days: 14
n8n-workflow:
name: n8n invoice workflow
runs-on: ubuntu-24.04
timeout-minutes: 25
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install independent PDF readers and the browser verifier
run: python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0 playwright==1.63.0
- run: python -m playwright install --with-deps chromium
- name: Verify the exact download in the real n8n runtime
run: |
python tools/build_n8n_starter.py
git diff --exit-code -- docs/assets/n8n-starter
python tools/verify_n8n_starter.py --browser
- uses: actions/upload-artifact@v4
if: always()
with:
name: n8n-workflow-verification
path: output/n8n-verification
retention-days: 14
lambda-starter:
name: Lambda runtime starter (${{ matrix.arch }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
arch: x86_64
- os: ubuntu-24.04-arm
arch: arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- uses: docker/setup-buildx-action@v3
- name: Install the public engine, independent readers, and template validator
run: |
python -m pip install --only-binary=:all: fullbleed==2.5.20 pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0 cfn-lint==1.57.2
- name: Validate CloudFormation and the exact downloadable project
run: |
cfn-lint examples/lambda-pdf/template.yaml
python tools/build_lambda_starter.py
git diff --exit-code -- docs/assets/lambda-starter/project.zip docs/assets/lambda-starter/source.json
python tools/verify_lambda_starter.py --docker-arch ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: lambda-verification-${{ matrix.arch }}
path: output/lambda-verification
retention-days: 14
axum:
name: Axum PDF starter (${{ matrix.os }}, Rust ${{ matrix.rust }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
rust: '1.85.0'
- os: ubuntu-latest
rust: '1.97.0'
- os: windows-latest
rust: '1.97.0'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- name: Install independent PDF readers and the browser verifier
run: python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0 playwright==1.63.0
- name: Install the verification browser
run: python -m playwright install --with-deps chromium
- name: Verify the exact ZIP, real HTTP endpoint, and browser downloads
run: |
python tools/build_axum_starter.py
git diff --exit-code -- docs/assets/axum-starter/project.zip docs/assets/axum-starter/source.json
python tools/verify_axum_starter.py --browser chromium --toolchain ${{ matrix.rust }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: axum-verification-${{ matrix.os }}-${{ matrix.rust }}
path: output/axum-verification
retention-days: 14
numbered-report:
name: Numbered report (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the public engine and independent PDF readers
run: |
python -m pip install --only-binary=:all: -r examples/numbered-report/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the exact download and edited section numbering
run: |
python tools/build_numbered_report.py
git diff --exit-code -- docs/assets/numbered-report/project.zip docs/assets/numbered-report/source.json
python tools/verify_numbered_report.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: numbered-report-verification-${{ matrix.os }}
path: output/numbered-report-verification
retention-days: 14
streamlit:
name: Streamlit PDF app (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install the public app packages and verification tools
run: |
python -m pip install --only-binary=:all: -r examples/streamlit-report/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 pillow==12.3.0 playwright==1.63.0
python -m playwright install --with-deps chromium
- name: Verify early browser failure evidence and error preservation
run: python tools/verify_streamlit_startup_evidence.py --browser chromium
- name: Verify the downloaded app, PDFs and browser sessions
run: |
python tools/build_streamlit_starter.py
git diff --exit-code -- docs/assets/streamlit-report/project.zip docs/assets/streamlit-report/source.json
python tools/verify_streamlit_starter.py --browser chromium
- uses: actions/upload-artifact@v4
if: always()
with:
name: streamlit-verification-${{ matrix.os }}
path: |
output/streamlit-verification/*.json
output/streamlit-verification/*.txt
output/streamlit-verification/*.pdf
output/streamlit-verification/*.png
output/streamlit-verification/*.log
output/streamlit-verification/*.html
output/streamlit-startup-controls/
retention-days: 14
pandas-components:
name: pandas component report (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/pandas-components/requirements-check.txt
- name: Rebuild the source kit and inspect its actual saved PDFs
shell: bash
run: |
python tools/build_pandas_components.py
git diff --exit-code -- docs/assets/pandas-components/project.zip docs/assets/pandas-components/source.json
python tools/verify_pandas_components.py --out target/pandas-components
- uses: actions/upload-artifact@v4
if: always()
with:
name: pandas-component-report-${{ matrix.os }}
path: target/pandas-components/
retention-days: 14
matplotlib:
name: Matplotlib report (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the public engine, chart dependencies and independent readers
run: |
python -m pip install --only-binary=:all: -r examples/matplotlib-report/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0
- name: Verify the actual chart-report ZIP and guide
run: |
python tools/build_matplotlib_starter.py
git diff --exit-code -- docs/assets/matplotlib-report/project.zip docs/assets/matplotlib-report/source.json
python tools/verify_matplotlib_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: matplotlib-verification-${{ matrix.os }}
path: |
output/matplotlib-verification/*.json
output/matplotlib-verification/*.txt
output/matplotlib-verification/*.png
output/matplotlib-verification/render/
output/matplotlib-verification/edited/
retention-days: 14
arabic:
name: Arabic and English example (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the public engine and independent PDF readers
run: |
python -m pip install --only-binary=:all: -r examples/arabic-invoice/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the actual ZIP, fonts, guide, and customized PDF
run: |
python tools/build_arabic_example.py
git diff --exit-code -- docs/assets/arabic-invoice/project.zip docs/assets/arabic-invoice/source.json
python tools/verify_arabic_example.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: arabic-verification-${{ matrix.os }}
path: |
output/arabic-verification/*.json
output/arabic-verification/*.txt
output/arabic-verification/*.png
output/arabic-verification/render/
output/arabic-verification/edited/
retention-days: 14
rust-download:
name: Rust starter (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: '1.97.0'
components: rustfmt
- run: python -m pip install pypdf==6.19.0 Pillow==12.3.0
- name: Verify the actual standalone Rust download
run: python tools/verify_rust_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: rust-starter-verification-Windows
path: output/rust-starter-verification
retention-days: 14
markdown:
name: Markdown starter (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the public engine and independent verification tools
run: |
python -m pip install --only-binary=:all: -r examples/markdown/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 fonttools==4.65.0 Pillow==12.3.0
- name: Verify the actual ZIP, CLI, fonts, images, and PDF
run: python tools/verify_markdown_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: markdown-verification-${{ matrix.os }}
path: |
output/markdown-verification/*.json
output/markdown-verification/*.txt
output/markdown-verification/*.png
output/markdown-verification/render/
output/markdown-verification/edited/
output/markdown-verification/images/
output/markdown-verification/extra-font/
retention-days: 14
chinese:
name: Chinese-font example (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install the public engine and independent verification tools
run: |
python -m pip install --only-binary=:all: -r examples/chinese-invoice/requirements.txt -r examples/chinese-invoice/requirements-fonts.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Verify the actual ZIP, prepared font, guide and PDF
run: python tools/verify_chinese_example.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: chinese-font-verification-${{ matrix.os }}
path: |
output/chinese-verification/*.json
output/chinese-verification/*.txt
output/chinese-verification/*.png
output/chinese-verification/render/
output/chinese-verification/edited/
output/chinese-verification/missing/
retention-days: 14
aspnet:
name: ASP.NET starter (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- run: python -m pip install pypdf==6.1.1
- name: Verify the actual ZIP and isolated publish output
run: python tools/verify_aspnet_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: aspnet-verification-${{ matrix.os }}
path: |
output/aspnet-verification/*.json
output/aspnet-verification/*.txt
output/aspnet-verification/*.log
output/aspnet-verification/preview/*
retention-days: 14
tagged-notice:
name: C# tagged notice (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- run: python -m pip install pypdf==6.19.0
- name: Verify the downloaded ZIP and isolated published tagged notice
run: python tools/verify_dotnet_accessibility.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: dotnet-accessibility-verification-${{ matrix.os }}
path: |
output/dotnet-accessibility-verification/verification.json
output/dotnet-accessibility-verification/*.txt
output/dotnet-accessibility-verification/ua1/
output/dotnet-accessibility-verification/ua2/
retention-days: 14
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: pip
- uses: actions/setup-node@v6
with:
node-version: '22'
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: '1.97.0'
targets: wasm32-wasip1
components: rustfmt
- run: python -m pip install -r requirements.txt
- run: python tools/build_playground.py
- run: node tools/verify_playground.mjs
- uses: actions/upload-artifact@v4
if: always()
with:
name: playground-native-evidence
path: |
playground/verification/*.json
playground/verification/*.html
playground/verification/*.css
playground/verification/**/*.pdf
playground/verification/**/*.png
retention-days: 7
- name: Verify downloadable playground projects
run: |
python -m pip install fullbleed==2.5.29 pypdf==6.19.0
node tools/verify_project_export.mjs
python -I tools/verify_project_export.py
python -I tools/verify_node_project_export.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: playground-project-verification
path: |
playground/project-verification
!playground/project-verification/**/node_modules/**
!playground/project-verification/node-npm-cache/**
retention-days: 7
- name: Compile and render the Rust quickstart examples
run: python tools/verify_rust_examples.py
- name: Verify the actual standalone Rust download
run: |
python -m pip install Pillow==12.3.0
python tools/build_rust_starter.py
git diff --exit-code -- docs/assets/rust-starter
python tools/verify_rust_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: rust-starter-verification-Linux
path: output/rust-starter-verification
retention-days: 14
- name: Verify the downloadable PDF regression starter
run: |
python -m venv output/pdf-regression-env
output/pdf-regression-env/bin/python -m pip install --only-binary=:all: fullbleed==2.5.3
python tools/check_ci_starter.py --python "$PWD/output/pdf-regression-env/bin/python"
- uses: actions/upload-artifact@v4
if: always()
with:
name: pdf-regression-download-verification
path: output/pdf-regression-verification
retention-days: 7
- name: Verify the introductory Python examples
run: |
python -m venv output/reference-env
output/reference-env/bin/python -m pip install --only-binary=:all: fullbleed==2.5.34
output/reference-env/bin/python -I tools/verify_quickstarts.py
- name: Verify the downloadable Node invoice and guide
run: python tools/verify_node_examples.py
- name: Verify the Node queue download and guide
run: |
python -m pip install pypdf==6.19.0 pypdfium2==5.14.0
python tools/build_node_queue.py
git diff --exit-code -- docs/assets/node-queue/project.zip docs/assets/node-queue/source.json
python tools/verify_node_queue.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: node-queue-verification
path: |
output/node-queue-verification/*.json
output/node-queue-verification/*.txt
output/node-queue-verification/**/*.pdf
output/node-queue-verification/**/*.png
retention-days: 14
- name: Verify the downloadable Python web starter and actual HTTP servers
run: python tools/verify_python_web_starter.py --docker
- uses: actions/upload-artifact@v4
if: always()
with:
name: python-web-starter-verification
path: |
output/python-web-verification/*.json
output/python-web-verification/*.log
output/python-web-verification/checks
output/python-web-verification/docker
retention-days: 14
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Install and execute the C# guide and invoice from NuGet
run: |
python -m pip install pypdf==6.1.1
python tools/verify_dotnet_examples.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: dotnet-guide-verification
path: output/dotnet-verification
retention-days: 14
- name: Build and exercise the downloadable Next.js starter
run: python tools/verify_nextjs_starter.py
- name: Verify the locked Workers invoice download in local workerd
run: |
python -m pip install pypdf==6.19.0 pillow==12.3.0
python tools/build_cloudflare_starter.py
git diff --exit-code -- docs/assets/cloudflare-starter/project.zip docs/assets/cloudflare-starter/source.json
python tools/verify_cloudflare_starter.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: cloudflare-starter-verification
path: |
output/cloudflare-starter-verification/*.json
output/cloudflare-starter-verification/*.log
output/cloudflare-starter-verification/*.pdf
output/cloudflare-starter-verification/*.png
retention-days: 14
- uses: actions/upload-artifact@v4
if: always()
with:
name: nextjs-download-verification
path: |
output/nextjs-verification/*.json
output/nextjs-verification/*.txt
output/nextjs-verification/*.log
output/nextjs-verification/*.pdf
output/nextjs-verification/*.png
retention-days: 14
- uses: actions/upload-artifact@v4
if: always()
with:
name: node-guide-verification
path: |
output/node-verification/*.json
output/node-verification/*.txt
output/node-verification/**/*.pdf
output/node-verification/**/*.png
retention-days: 7
- uses: actions/upload-artifact@v4
if: always()
with:
name: quickstart-verification
path: output/quickstart-verification
retention-days: 7
- uses: actions/upload-artifact@v4
with:
name: rust-quickstart-verification
path: examples/rust/verification
- uses: actions/upload-artifact@v4
with:
name: playground-verification
path: |
docs/assets/playground/build.json
docs/assets/playground/verification.json
- name: Verify renderer comparison downloads and published measurements
run: |
python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
python tools/verify_renderer_comparison.py
- uses: actions/upload-artifact@v4
if: always()
with: