[repo] Licences: the check covers every crate in Cargo.lock, SPDX rule tests; Fabrica test pipeline

This commit is contained in:
2026-11-17 00:47:02 +01:00
parent fcc9840fdc
commit f1f0234ffb
4 changed files with 224 additions and 149 deletions
+19
View File
@@ -0,0 +1,19 @@
# Pictor's core: every test, on the Windows runner (Fabrica on Mark's PC), in the background. pdfium is fetched by
# its pinned script; the optional hostile corpus too. LibreOffice, when installed, is used by the PDF-to-Word test.
name: test
on:
push: [main]
manual: true
runner: windows
env:
RUST_BACKTRACE: "1"
steps:
- id: pdfium
run: powershell -NoProfile -ExecutionPolicy Bypass -File scripts/fetch-pdfium.ps1
- id: corpus
run: powershell -NoProfile -ExecutionPolicy Bypass -File fixtures-fetch/fetch.ps1
- id: test
needs: [pdfium, corpus]
run: cargo test --workspace --release
- id: licences
run: node --test scripts/deps.test.mjs && node scripts/deps.mjs --check